File tree 1 file changed +11
-9
lines changed
1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -2899,16 +2899,18 @@ func (s *MethodTestSuite) TestSystemFunctions() {
2899
2899
ExitCode : 0 ,
2900
2900
Status : database .WorkspaceAgentScriptTimingStatusOk ,
2901
2901
})
2902
- row := database.GetWorkspaceAgentScriptTimingsByBuildIDRow {
2903
- StartedAt : timing .StartedAt ,
2904
- EndedAt : timing .EndedAt ,
2905
- Stage : timing .Stage ,
2906
- ScriptID : timing .ScriptID ,
2907
- ExitCode : timing .ExitCode ,
2908
- Status : timing .Status ,
2909
- DisplayName : scripts [0 ].DisplayName ,
2902
+ rows := []database.GetWorkspaceAgentScriptTimingsByBuildIDRow {
2903
+ {
2904
+ StartedAt : timing .StartedAt ,
2905
+ EndedAt : timing .EndedAt ,
2906
+ Stage : timing .Stage ,
2907
+ ScriptID : timing .ScriptID ,
2908
+ ExitCode : timing .ExitCode ,
2909
+ Status : timing .Status ,
2910
+ DisplayName : scripts [0 ].DisplayName ,
2911
+ },
2910
2912
}
2911
- check .Args (build .ID ).Asserts (workspace , policy .ActionRead ).Returns (row )
2913
+ check .Args (build .ID ).Asserts (workspace , policy .ActionRead ).Returns (rows )
2912
2914
}))
2913
2915
}
2914
2916
You can’t perform that action at this time.
0 commit comments