aboutsummaryrefslogtreecommitdiffstats
path: root/identity/bare_test.go
blob: 4b28c7ad329eb06a31ca366e549bd35c6c74c763 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)
}