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…
Reference in New Issue