0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Fixed regression test

refs b0ff1e7ca

- Regression test didn't get updated after migration was added
This commit is contained in:
Nazar Gargol 2020-02-27 12:57:53 +08:00
parent b0ff1e7cac
commit 6cca5b45c5

View file

@ -206,6 +206,7 @@ describe('Database Migration (special functions)', function () {
permissions[69].name.should.eql('Edit labels');
permissions[70].name.should.eql('Add labels');
permissions[71].name.should.eql('Delete labels');
permissions[72].name.should.eql('Read member signin urls');
});
describe('Populate', function () {
@ -263,7 +264,7 @@ describe('Database Migration (special functions)', function () {
result.roles.at(7).get('name').should.eql('Scheduler Integration');
// Permissions
result.permissions.length.should.eql(72);
result.permissions.length.should.eql(73);
result.permissions.toJSON().should.be.CompletePermissions();
});
});