MXS-2200: Extend REST API tests
Added test cases for static and unknown global parameters.
This commit is contained in:
parent
26da72a41f
commit
ee98900685
@ -35,5 +35,15 @@ describe("Core Parameters", function() {
|
||||
.should.be.fulfilled
|
||||
})
|
||||
|
||||
it("will not modify static parameters", function() {
|
||||
return set_value("threads", "1")
|
||||
.should.be.rejected
|
||||
})
|
||||
|
||||
it("does not accept unknown parameters", function() {
|
||||
return set_value("quantum_compute", "yes, please")
|
||||
.should.be.rejected
|
||||
})
|
||||
|
||||
after(stopMaxScale)
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user