|
|
@ -75,6 +75,6 @@ class ErrorsTest extends \CIUnitTestCase |
|
|
|
$this->library = new Aauth(NULL, $session); |
|
|
|
$this->library = new Aauth(NULL, $session); |
|
|
|
$this->assertNull($session->get('errors')); |
|
|
|
$this->assertNull($session->get('errors')); |
|
|
|
$this->library->error('test message 1', true); |
|
|
|
$this->library->error('test message 1', true); |
|
|
|
$this->assertCount(1, $session->get('errors')); |
|
|
|
$this->assertCount(1, $session->errors); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|