aboutsummaryrefslogblamecommitdiffstats
path: root/identity/bare_test.go
blob: 4b28c7ad329eb06a31ca366e549bd35c6c74c763 (plain) (tree)
1
2
3
4
5
6




                 
                                            






                                                               
package identity

import (
	"testing"

	"github.com/stretchr/testify/assert"
)

func TestBare_Id(t *testing.T) {
	i := NewBare("name", "email")
	id := i.Id()
	assert.Equal(t, "7b226e616d65223a226e616d65222c22", id)
}