mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
SessionNamespaceTest: expect the correct exception
This commit is contained in:
parent
3d170f90a5
commit
97cfeaa3df
@ -4,7 +4,6 @@
|
||||
|
||||
namespace Tests\Icinga\Web\Session;
|
||||
|
||||
use Exception;
|
||||
use Mockery;
|
||||
use Icinga\Test\BaseTestCase;
|
||||
use Icinga\Web\Session\SessionNamespace;
|
||||
@ -66,7 +65,7 @@ class SessionNamespaceTest extends BaseTestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException Exception
|
||||
* @expectedException Icinga\Exception\IcingaException
|
||||
*/
|
||||
public function testFailingPropertyAccess()
|
||||
{
|
||||
@ -88,7 +87,7 @@ class SessionNamespaceTest extends BaseTestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* @expectedException Exception
|
||||
* @expectedException Icinga\Exception\IcingaException
|
||||
* @expectedExceptionMessage Cannot save, session not set
|
||||
*/
|
||||
public function testInvalidParentWrite()
|
||||
|
Loading…
x
Reference in New Issue
Block a user