Improve MaxCtrl test coverage

A few missing cases that simple to solve were reported by the coverage
tool.
This commit is contained in:
Markus Mäkelä
2018-08-10 21:46:38 +03:00
parent 46dee98b25
commit 57471c7baa
5 changed files with 32 additions and 1 deletions

View File

@ -239,5 +239,16 @@ describe("Create/Destroy Commands", function() {
.should.be.fulfilled
})
it('create filter with no parameters', function() {
return verifyCommand('create filter test-filter hintfilter',
'filters/test-filter')
.should.be.fulfilled
})
it('destroy filter with no parameters', function() {
return doCommand('destroy filter test-filter')
.should.be.fulfilled
})
after(stopMaxScale)
});