public function test_logout() { $this->object->set_user($this->pixie->orm->get('fairy')->find(), 'password'); $this->object->logout(); $this->assertEquals(null, $this->object->user()); $this->assertEquals(null, $this->object->logged_with()); $this->assertEquals(true, empty($this->session_array['auth_default_password_uid'])); }