mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Revert error logging introduced in 1e97b5c
This commit is contained in:
parent
50b4d05ef5
commit
6e7edd9824
@ -32,10 +32,7 @@ describe("Vendors", function () {
|
||||
it(`should return 200 HTTP code for vendor "${vendor}"`, function () {
|
||||
urlVendor = "http://localhost:8080/vendor/" + vendors[vendor];
|
||||
request.get(urlVendor, function (err, res, body) {
|
||||
if (!err)
|
||||
{expect(res.statusCode).to.equal(200);}
|
||||
else
|
||||
{mlog.pending(`There error vendor 200 test ${err}`);}
|
||||
expect(res.statusCode).to.equal(200);
|
||||
});
|
||||
});
|
||||
});
|
||||
@ -44,10 +41,7 @@ describe("Vendors", function () {
|
||||
it(`should return 404 HTTP code for vendor https://localhost/"${vendor}"`, function() {
|
||||
urlVendor = "http://localhost:8080/" + vendors[vendor];
|
||||
request.get(urlVendor, function (err, res, body) {
|
||||
if (!err)
|
||||
{expect(res.statusCode).to.equal(404);}
|
||||
else
|
||||
{mlog.pending(`There error vendor 404 test ${err}`);}
|
||||
expect(res.statusCode).to.equal(404);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user