MXS-2200: Extend REST API tests

Added test cases for static and unknown global parameters.
This commit is contained in:
Markus Mäkelä 2018-12-27 13:35:47 +02:00
parent 26da72a41f
commit ee98900685
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -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)
});