fix test
This commit is contained in:
parent
1f2c1a06aa
commit
f1795d51ef
|
@ -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