mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 23:34:08 +02:00
RestRequestTest: Fully qualify expected exception
This commit is contained in:
parent
593fd485f6
commit
3d3b1cdf4f
@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
namespace Tests\Icinga\Modules\Monitoring\Web\Rest;
|
namespace Tests\Icinga\Modules\Monitoring\Web\Rest;
|
||||||
|
|
||||||
use Icinga\Exception\Json\JsonDecodeException;
|
|
||||||
use Icinga\Module\Monitoring\Web\Rest\RestRequest;
|
use Icinga\Module\Monitoring\Web\Rest\RestRequest;
|
||||||
use Icinga\Test\BaseTestCase;
|
use Icinga\Test\BaseTestCase;
|
||||||
|
|
||||||
@ -18,7 +17,7 @@ class MockedRestRequest extends RestRequest
|
|||||||
class RestRequestTest extends BaseTestCase
|
class RestRequestTest extends BaseTestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @expectedException JsonDecodeException
|
* @expectedException \Icinga\Exception\Json\JsonDecodeException
|
||||||
*/
|
*/
|
||||||
public function testInvalidServerResponseHandling()
|
public function testInvalidServerResponseHandling()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user