Skip to content

Commit

Permalink
fix test TryGhost#5
Browse files Browse the repository at this point in the history
  • Loading branch information
tamvm committed Sep 24, 2019
1 parent b388e1b commit 83e3aed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/test/acceptance/old/admin/roles_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('Roles API', function () {
should.exist(response);
should.exist(response.roles);
localUtils.API.checkResponse(response, 'roles');
response.roles.should.have.length(8);
response.roles.should.have.length(9);
localUtils.API.checkResponse(response.roles[0], 'role');
localUtils.API.checkResponse(response.roles[1], 'role');
localUtils.API.checkResponse(response.roles[2], 'role');
Expand All @@ -44,7 +44,7 @@ describe('Roles API', function () {
localUtils.API.checkResponse(response.roles[5], 'role');
localUtils.API.checkResponse(response.roles[6], 'role');
localUtils.API.checkResponse(response.roles[7], 'role');

localUtils.API.checkResponse(response.roles[8], 'role');
done();
});
});
Expand Down
4 changes: 2 additions & 2 deletions core/test/unit/data/schema/integrity_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ var should = require('should'),
*/
describe('DB version integrity', function () {
// Only these variables should need updating
const currentSchemaHash = 'da57627cdcce50769784d91311e132fc';
const currentFixturesHash = 'c7b485fe2f16517295bd35c761129729';
const currentSchemaHash = 'bec1864a7534e94e84ecfacc27ca8c6f';
const currentFixturesHash = '0c3a421831a4bc8050d522296bf429be';

// If this test is failing, then it is likely a change has been made that requires a DB version bump,
// and the values above will need updating as confirmation
Expand Down

0 comments on commit 83e3aed

Please sign in to comment.