Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 93f239c

Browse files
committedJul 12, 2024·
fixup
1 parent 70fcc08 commit 93f239c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎integration/integration_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,16 @@ func TestIntegration(t *testing.T) {
5656
name: "user-test",
5757
preF: func(t testing.TB, c *codersdk.Client) {
5858
me, err := c.User(ctx, codersdk.Me)
59-
require.NoError(t, err)
60-
c.CreateUser(ctx, codersdk.CreateUserRequest{
59+
assert.NoError(t, err)
60+
_, err = c.CreateUser(ctx, codersdk.CreateUserRequest{
6161
Email: "test2@coder.com",
6262
Username: "ethan",
6363
Password: "SomeSecurePassword!",
6464
UserLoginType: "password",
6565
DisableLogin: false,
6666
OrganizationID: me.OrganizationIDs[0],
6767
})
68+
assert.NoError(t, err)
6869
},
6970
assertF: func(t testing.TB, c *codersdk.Client) {
7071
// Check user fields.

0 commit comments

Comments
 (0)
Please sign in to comment.