20 lines
398 B
PHP
20 lines
398 B
PHP
<?php
|
|
|
|
namespace Tests;
|
|
|
|
class TestResponseMacros
|
|
{
|
|
public function assertResourceNotFound()
|
|
{
|
|
return function () {
|
|
$this->assertStatus(404);
|
|
$this->assertExactJson([
|
|
'error' => [
|
|
'error_code' => 31,
|
|
'message' => 'The resource has not been found',
|
|
],
|
|
]);
|
|
};
|
|
}
|
|
}
|