File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -4047,12 +4047,9 @@ func (s *MethodTestSuite) TestSystemFunctions() {
4047
4047
app := dbgen .WorkspaceApp (s .T (), db , database.WorkspaceApp {AgentID : agent .ID })
4048
4048
check .Args (database.UpsertWorkspaceAppAuditSessionParams {
4049
4049
AgentID : agent .ID ,
4050
- AppID : uuid.NullUUID {UUID : app .ID , Valid : true },
4051
- UserID : uuid.NullUUID {UUID : u .ID , Valid : true },
4052
- }).Asserts (rbac .ResourceSystem , policy .ActionCreate )
4053
- }))
4054
- s .Run ("UpdateWorkspaceAppAuditSession" , s .Subtest (func (db database.Store , check * expects ) {
4055
- check .Args (database.UpdateWorkspaceAppAuditSessionParams {}).Asserts (rbac .ResourceSystem , policy .ActionUpdate )
4050
+ AppID : app .ID ,
4051
+ UserID : u .ID ,
4052
+ }).Asserts (rbac .ResourceSystem , policy .ActionUpdate )
4056
4053
}))
4057
4054
s .Run ("InsertWorkspaceAgentScriptTimings" , s .Subtest (func (db database.Store , check * expects ) {
4058
4055
dbtestutil .DisableForeignKeysAndTriggers (s .T (), db )
You can’t perform that action at this time.
0 commit comments