File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
modules/web-console/frontend/app/configuration/services Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -38,15 +38,6 @@ suite('Clusters service', () => {
3838 assert . isNumber ( s . minMemoryPolicySize , 'has minMemoryPolicySize number' ) ;
3939 } ) ;
4040
41- test ( 'saveCluster' , ( ) => {
42- const s = new Provider ( ...mocks ( ) . values ( ) ) ;
43- const cluster = { id : 1 , name : 'Test' } ;
44- s . saveCluster ( cluster ) ;
45- assert . isOk ( s . $http . post . called , 'calls $http.post' ) ;
46- assert . equal ( s . $http . post . lastCall . args [ 0 ] , '/api/v1/configuration/clusters/save' , 'uses correct API URL' ) ;
47- assert . deepEqual ( s . $http . post . lastCall . args [ 1 ] , cluster , 'sends cluster' ) ;
48- } ) ;
49-
5041 test ( 'getBlankCluster' , ( ) => {
5142 const s = new Provider ( ...mocks ( ) . values ( ) ) ;
5243 assert . isObject ( s . getBlankCluster ( ) ) ;
You can’t perform that action at this time.
0 commit comments