Files
mongo/jstests/auth2.js

10 lines
199 B
JavaScript
Raw Normal View History

2010-03-09 13:42:04 -05:00
// just make sure logout doesn't break anything
// SERVER-724
2010-03-09 14:31:40 -05:00
db.runCommand({logout : 1});
2011-06-22 13:49:25 -04:00
x = db.runCommand({logout : 1});
assert.eq( 1 , x.ok , "A" )
x = db.logout();
assert.eq( 1 , x.ok , "B" )