Skip to content

Commit

Permalink
stop auth1 from breaking other tests by removing admin user #869
Browse files Browse the repository at this point in the history
  • Loading branch information
leifwalsh committed Feb 9, 2014
1 parent 8a4cb44 commit 5408da5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jstests/auth1.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,4 @@ assert.eq( before , after , "C4" )
// Clean up after ourselves so other tests using authentication don't get messed up.
db.system.users.remove({})
db.getSiblingDB('admin').system.users.remove({})
db.getSiblingDB('admin').addUser('admin', 'password');

0 comments on commit 5408da5

Please sign in to comment.