Skip to content

Commit

Permalink
Undoing changes to test
Browse files Browse the repository at this point in the history
  • Loading branch information
avoidwork committed May 25, 2015
1 parent e0fcbb2 commit dc7bd66
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions test/auth_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,11 @@ describe( "Local", function () {
.post( "/login" )
.form()
.send( { username: "test", password: 1232 } )
//.expectStatus( 403 )
//.expectValue( "data", null )
//.expectValue( "error", "CSRF token missing" )
//.expectValue( "status", 403 )
.end( function ( err, res ) {
console.log( res );
.expectStatus( 403 )
.expectValue( "data", null )
.expectValue( "error", "CSRF token missing" )
.expectValue( "status", 403 )
.end( function ( err ) {
if ( err ) throw err;
done();
} );
Expand Down

0 comments on commit dc7bd66

Please sign in to comment.