This commit is contained in:
Jeremy Benoist
2017-06-07 23:23:34 +02:00
parent 0c00e52516
commit eb570e49c8
3 changed files with 6 additions and 8 deletions

View File

@ -85,7 +85,7 @@ class AnnotationControllerTest extends WallabagAnnotationTestCase
'text' => 'my annotation',
'quote' => 'my quote',
'ranges' => [
['start' => '', 'startOffset' => 24, 'end' => '', 'endOffset' => 31]
['start' => '', 'startOffset' => 24, 'end' => '', 'endOffset' => 31],
],
]);
$this->client->request('POST', $prefixUrl.'/'.$entry->getId().'.json', [], [], $headers, $content);
@ -130,7 +130,7 @@ class AnnotationControllerTest extends WallabagAnnotationTestCase
'text' => 'my annotation',
'quote' => $longQuote,
'ranges' => [
['start' => '', 'startOffset' => 24, 'end' => '', 'endOffset' => 31]
['start' => '', 'startOffset' => 24, 'end' => '', 'endOffset' => 31],
],
]);
$this->client->request('POST', $prefixUrl.'/'.$entry->getId().'.json', [], [], $headers, $content);