Skip to content
This repository was archived by the owner on Aug 4, 2023. It is now read-only.

Commit 7e4e192

Browse files
author
Fotios Lindiakos
committed
Remove unneeded expectOK helper
1 parent 9b632df commit 7e4e192

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

Diff for: test/2.0/test-middleware-swagger-security.js

-10
Original file line numberDiff line numberDiff line change
@@ -170,16 +170,6 @@ _.forEach([
170170
// Delete global security
171171
delete petStoreJson.security;
172172

173-
var expectOK = function(done) {
174-
return function(err, res) {
175-
if(err) {
176-
return done(err);
177-
}
178-
helpers.expectContent('OK')(err, res);
179-
done();
180-
};
181-
};
182-
183173
// TODO: Remove this .only before merging
184174
describe.only('Swagger Security Middleware v2.0', function () {
185175
it('should call middleware when secured', function(done) {

0 commit comments

Comments
 (0)