Skip to content

Commit 9c6ebd3

Browse files
committed
update model integration CRUD test
1 parent 24c7b6e commit 9c6ebd3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/api/model_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ func TestIntegrationModel_CRUD(t *testing.T) {
9696
require.Equal(t, []int{200, 200, 200}, rp.codes)
9797
for _, b := range rp.bodys {
9898
require.Equal(t, "test1", gjson.GetBytes(b, "data.name").String())
99+
// FIXME: user email leak
100+
require.Equal(t, "user1@csg.com", gjson.GetBytes(b, "data.user.email").String())
99101
}
100102

101103
// create private model

0 commit comments

Comments
 (0)