Skip to content

Commit c0d376f

Browse files
committed
Clarify user/organization audit log tests
There is another test called "organizations" so this distinguishes that this is checking the response itself contains this field. Rename the user test to match.
1 parent 2b25f46 commit c0d376f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coderd/audit_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func TestAuditLogs(t *testing.T) {
4747
require.Len(t, alogs.AuditLogs, 1)
4848
})
4949

50-
t.Run("User", func(t *testing.T) {
50+
t.Run("IncludeUser", func(t *testing.T) {
5151
t.Parallel()
5252

5353
ctx := context.Background()
@@ -97,7 +97,7 @@ func TestAuditLogs(t *testing.T) {
9797
require.Equal(t, foundUser, *alogs.AuditLogs[0].User)
9898
})
9999

100-
t.Run("Organization", func(t *testing.T) {
100+
t.Run("IncludeOrganization", func(t *testing.T) {
101101
t.Parallel()
102102

103103
ctx := context.Background()

0 commit comments

Comments
 (0)