diff --git a/tests/legacy/ApiTest.php b/tests/legacy/ApiTest.php index 837b7409b0..4a1839f8c2 100644 --- a/tests/legacy/ApiTest.php +++ b/tests/legacy/ApiTest.php @@ -2266,6 +2266,7 @@ class ApiTest extends FixtureTest [ 'network' => 'feed', 'title' => 'item_title', + 'uri-id' => 1, // We need a long string to test that it is correctly cut 'body' => 'perspiciatis impedit voluptatem quis molestiae ea qui ' . 'reiciendis dolorum aut ducimus sunt consequatur inventore dolor ' . @@ -2308,12 +2309,13 @@ class ApiTest extends FixtureTest [ 'network' => 'feed', 'title' => 'item_title', + 'uri-id' => 1, 'body' => '', 'plink' => 'item_plink' ] ); - self::assertEquals('item_title', $result['text']); - self::assertEquals('