File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -1950,4 +1950,25 @@ func (s *MethodTestSuite) TestSystemFunctions() {
1950
1950
s .Run ("GetTemplateDAUs" , s .Subtest (func (db database.Store , check * expects ) {
1951
1951
check .Args (database.GetTemplateDAUsParams {}).Asserts (rbac .ResourceSystem , rbac .ActionRead )
1952
1952
}))
1953
+ s .Run ("GetActiveWorkspaceBuildsByTemplateID" , s .Subtest (func (db database.Store , check * expects ) {
1954
+ check .Args (uuid .New ()).Asserts (rbac .ResourceSystem , rbac .ActionRead )
1955
+ }))
1956
+ s .Run ("GetDeploymentDAUs" , s .Subtest (func (db database.Store , check * expects ) {
1957
+ check .Args (int32 (0 )).Asserts (rbac .ResourceSystem , rbac .ActionRead )
1958
+ }))
1959
+ s .Run ("GetAppSecurityKey" , s .Subtest (func (db database.Store , check * expects ) {
1960
+ check .Args ().Asserts ()
1961
+ }))
1962
+ s .Run ("UpsertAppSecurityKey" , s .Subtest (func (db database.Store , check * expects ) {
1963
+ check .Args ("" ).Asserts ()
1964
+ }))
1965
+ s .Run ("GetApplicationName" , s .Subtest (func (db database.Store , check * expects ) {
1966
+ check .Args ().Asserts ()
1967
+ }))
1968
+ s .Run ("UpsertApplicationName" , s .Subtest (func (db database.Store , check * expects ) {
1969
+ check .Args ("" ).Asserts (rbac .ResourceDeploymentValues , rbac .ActionCreate )
1970
+ }))
1971
+ s .Run ("GetHealthSettings" , s .Subtest (func (db database.Store , check * expects ) {
1972
+ check .Args ().Asserts ()
1973
+ }))
1953
1974
}
You can’t perform that action at this time.
0 commit comments