Files
mongo/jstests/core/auth2.js
Randolph Tan 5595b94560 SERVER-12127 migrate js tests to jscore suite when not related to writes
Moved test jstest/[a-i].js -> jstests/core/ and made changes to comply with write command api
2014-02-28 16:26:33 -05:00

10 lines
199 B
JavaScript

// just make sure logout doesn't break anything
// SERVER-724
db.runCommand({logout : 1});
x = db.runCommand({logout : 1});
assert.eq( 1 , x.ok , "A" )
x = db.logout();
assert.eq( 1 , x.ok , "B" )