This commit is contained in:
Martin McKeaveney 2020-06-24 16:32:16 +01:00
parent c46ccd05f9
commit db16af3937
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ describe("/models", () => {
.expect('Content-Type', /json/)
.expect(200)
.end(async (err, res) => {
expect(res.res.statusMessage).toEqual("Model TestModel created successfully.");
expect(res.res.statusMessage).toEqual("Model TestModel saved successfully.");
expect(res.body.name).toEqual("TestModel");
done();
});