Skip to content

Commit 24b646e

Browse files
committedFeb 8, 2024
fix actor in test
1 parent 797a541 commit 24b646e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎coderd/workspaceportshare_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func TestWorkspacePortShare(t *testing.T) {
5959
})
6060
require.NoError(t, err)
6161

62-
ps, err := db.GetWorkspaceAgentPortShare(ctx, database.GetWorkspaceAgentPortShareParams{
62+
ps, err := db.GetWorkspaceAgentPortShare(dbauthz.As(ctx, coderdtest.AuthzUserSubject(user, owner.OrganizationID)), database.GetWorkspaceAgentPortShareParams{
6363
WorkspaceID: r.Workspace.ID,
6464
AgentName: agents[0].Name,
6565
Port: 8080,

0 commit comments

Comments
 (0)