You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 15, 2023. It is now read-only.
Use this "http://swagger-net-test.azurewebsites.net/swagger/docs/V1" swagger to gen the test.js
file: api-ArrayTest-Post Arrays-test.js
the last it is wrong format:
it('should respond with 200 OK', function(done) {
request({
url: 'http://swagger-net-test.azurewebsites.net/api/ArrayTest/Post Arrays',
method: 'POST',
headers: {
'Content-Type': 'text/html',
Authorization: 'Bearer ' + process.env.OAUTH_2
}, //this miss a }
function(error, res, body) {
if (error) return done(error);
expect(res.statusCode).to.equal(200);
expect(body).to.equal(null); // non-json response or no schema
done();
});
});
The text was updated successfully, but these errors were encountered: