File tree 1 file changed +2
-4
lines changed 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -4942,10 +4942,7 @@ func (s *MethodTestSuite) TestPrebuilds() {
4942
4942
},
4943
4943
InvalidateAfterSecs : preset .InvalidateAfterSecs ,
4944
4944
OrganizationID : org .ID ,
4945
- PrebuildStatus : database.NullPrebuildStatus {
4946
- PrebuildStatus : database .PrebuildStatusNormal ,
4947
- Valid : true ,
4948
- },
4945
+ PrebuildStatus : database .PrebuildStatusNormal ,
4949
4946
})
4950
4947
}))
4951
4948
s .Run ("UpdatePrebuildStatus" , s .Subtest (func (db database.Store , check * expects ) {
@@ -4968,6 +4965,7 @@ func (s *MethodTestSuite) TestPrebuilds() {
4968
4965
})
4969
4966
req := database.UpdatePrebuildStatusParams {
4970
4967
PresetID : preset .ID ,
4968
+ Status : database .PrebuildStatusNormal ,
4971
4969
}
4972
4970
check .Args (req ).
4973
4971
Asserts (rbac .ResourceTemplate .WithID (template .ID ).InOrg (org .ID ), policy .ActionUpdate )
You can’t perform that action at this time.
0 commit comments