We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8d3b6f commit 339f320Copy full SHA for 339f320
codersdk/projects_test.go
@@ -24,9 +24,11 @@ func TestProjects(t *testing.T) {
24
t.Run("List", func(t *testing.T) {
25
t.Parallel()
26
server := coderdtest.New(t)
27
- _ = server.RandomInitialUser(t)
+ user := server.RandomInitialUser(t)
28
_, err := server.Client.Projects(context.Background(), "")
29
require.NoError(t, err)
30
+ _, err = server.Client.Projects(context.Background(), user.Organization)
31
+ require.NoError(t, err)
32
})
33
34
t.Run("UnauthenticatedCreate", func(t *testing.T) {
0 commit comments