fix test
This commit is contained in:
parent
c46ccd05f9
commit
db16af3937
|
@ -45,7 +45,7 @@ describe("/models", () => {
|
||||||
.expect('Content-Type', /json/)
|
.expect('Content-Type', /json/)
|
||||||
.expect(200)
|
.expect(200)
|
||||||
.end(async (err, res) => {
|
.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");
|
expect(res.body.name).toEqual("TestModel");
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue