|
Lines 153-159
subtest 'get() tests' => sub {
Link Here
|
| 153 |
$counter_file_to_delete->delete; |
153 |
$counter_file_to_delete->delete; |
| 154 |
|
154 |
|
| 155 |
$t->get_ok("//$userid:$password@/api/v1/erm/counter_files/$non_existent_id/file/content")->status_is(404) |
155 |
$t->get_ok("//$userid:$password@/api/v1/erm/counter_files/$non_existent_id/file/content")->status_is(404) |
| 156 |
->json_is( '/error' => 'Counter file not found' ); |
156 |
->json_is( '/error' => 'COUNTER file not found' ); |
| 157 |
|
157 |
|
| 158 |
$schema->storage->txn_rollback; |
158 |
$schema->storage->txn_rollback; |
| 159 |
}; |
159 |
}; |
| 160 |
- |
|
|