Skip to content

Commit

Permalink
Testfix: activeRegion job adapter string
Browse files Browse the repository at this point in the history
  • Loading branch information
philrenaud committed Jul 11, 2022
1 parent 66a4edc commit e9717a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/tests/unit/adapters/job-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ module('Unit | Adapter | Job', function (hooks) {
await this.subject().parse('job "name-goes-here" {');

const request = this.server.pretender.handledRequests[0];
assert.equal(request.url, `/v1/jobs/parse?region=${region}`);
assert.equal(request.url, `/v1/jobs/parse?namespace=*&region=${region}`);
assert.equal(request.method, 'POST');
assert.deepEqual(JSON.parse(request.requestBody), {
JobHCL: 'job "name-goes-here" {',
Expand Down

0 comments on commit e9717a7

Please sign in to comment.