Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix lint
  • Loading branch information
kacpersaw committed Jun 26, 2025
commit dad1a28b447f539e0b2451450a53e86544063f7f
6 changes: 3 additions & 3 deletions coderd/database/querier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2042,9 +2042,9 @@ func TestAuthorizedAuditLogs(t *testing.T) {
require.NoError(t, err)

// Then: All logs for both organizations are returned and count matches
expectedLogs := append(orgAuditLogs[first], orgAuditLogs[second]...)
expectedCount := int64(len(expectedLogs))
require.Equal(t, expectedCount, count, "count should match sum of both organizations")
expectedLogs := append([]uuid.UUID{}, orgAuditLogs[first]...)
expectedLogs = append(expectedLogs, orgAuditLogs[second]...)
require.Equal(t, int64(len(expectedLogs)), count, "count should match sum of both organizations")
require.ElementsMatch(t, expectedLogs, auditOnlyIDs(logs), "logs from both organizations should be returned")
})

Expand Down
Loading