mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15: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;
|
||||
|
||||
use Icinga\Exception\Json\JsonDecodeException;
|
||||
use Icinga\Module\Monitoring\Web\Rest\RestRequest;
|
||||
use Icinga\Test\BaseTestCase;
|
||||
|
||||
@ -18,7 +17,7 @@ class MockedRestRequest extends RestRequest
|
||||
class RestRequestTest extends BaseTestCase
|
||||
{
|
||||
/**
|
||||
* @expectedException JsonDecodeException
|
||||
* @expectedException \Icinga\Exception\Json\JsonDecodeException
|
||||
*/
|
||||
public function testInvalidServerResponseHandling()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user