lithium\tests\cases\security\AuthTest::testNoConfigurations PHP Method

testNoConfigurations() public method

    public function testNoConfigurations()
    {
        Auth::reset();
        $this->assertIdentical(array(), Auth::config());
        $this->assertException("Configuration `user` has not been defined.", function () {
            Auth::check('user');
        });
    }