Skip to content

Commit

Permalink
fix(auth): pass test
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftin committed Jan 25, 2025
1 parent 8239a38 commit 05ef5f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/bolt/BoltDb_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func TestMarshalObject_UserWithPwd(t *testing.T) {
require.NoError(t, err)

str := string(bytes)
expected := `{"id":0,"created":"0001-01-01T00:00:00Z","username":"fiftin","name":"","email":"","password":"345345234523452345234","admin":false,"external":false,"alert":false}`
expected := `{"id":0,"created":"0001-01-01T00:00:00Z","username":"fiftin","name":"","email":"","password":"345345234523452345234","admin":false,"external":false,"alert":false,\"pro\":false}`
assert.Equal(t, expected, str)

fmt.Println(str)
Expand Down

0 comments on commit 05ef5f5

Please sign in to comment.