Skip to content

Commit

Permalink
fix: adjust test expected messages for clarified RPC responses
Browse files Browse the repository at this point in the history
  • Loading branch information
wwills2 committed Nov 22, 2024
1 parent 5179845 commit 13cd876
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/resources/organization.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ describe('Orgainzation Resource CRUD', function () {
});

expect(response.body.message).to.equal(
'Resyncing organization completed',
'Resyncing organization process initiated',
);
}).timeout(TEST_WAIT_TIME * 10);
});
Expand Down
2 changes: 1 addition & 1 deletion tests/test-fixtures/project-fixtures.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const deleteProject = async (warehouseProjectId) => {
.delete('/v1/projects')
.send({ warehouseProjectId });
expect(result.body).to.deep.equal({
message: 'Project deleted successfully',
message: 'Project deletion staged successfully',
success: true,
});
expect(result.statusCode).to.equal(200);
Expand Down
2 changes: 1 addition & 1 deletion tests/test-fixtures/unit-fixtures.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const deleteUnit = async (warehouseUnitId) => {
.delete('/v1/units')
.send({ warehouseUnitId });
expect(result.body).to.deep.equal({
message: 'Unit deleted successfully',
message: 'Unit deletion staged successfully',
success: true,
});
expect(result.statusCode).to.equal(200);
Expand Down

0 comments on commit 13cd876

Please sign in to comment.