Update test configuration files

Updated the REST API and MaxCtrl configuration files with new object
names. Updated tests with new object names.
This commit is contained in:
Markus Mäkelä
2018-01-19 09:19:32 +02:00
parent f204650bbb
commit ccebf38bc0
13 changed files with 87 additions and 87 deletions

View File

@ -25,8 +25,8 @@ describe("Link/Unlink Commands", function() {
})
it('unlink servers from a monitor', function() {
return verifyCommand('unlink monitor MySQL-Monitor server2 server3 server4',
'monitors/MySQL-Monitor')
return verifyCommand('unlink monitor MariaDB-Monitor server2 server3 server4',
'monitors/MariaDB-Monitor')
.then(function(res) {
res.data.relationships.servers.data.length.should.equal(1)
res.data.relationships.servers.data[0].id.should.equal("server1")
@ -34,8 +34,8 @@ describe("Link/Unlink Commands", function() {
})
it('link servers to a monitor', function() {
return verifyCommand('link monitor MySQL-Monitor server1 server2 server3 server4',
'monitors/MySQL-Monitor')
return verifyCommand('link monitor MariaDB-Monitor server1 server2 server3 server4',
'monitors/MariaDB-Monitor')
.then(function(res) {
res.data.relationships.servers.data.length.should.equal(4)
res.data.relationships.servers.data[0].id.should.equal("server1")