diff --git a/Tests/Package/GistsTest.php b/Tests/Package/GistsTest.php index 5796c5c5..64bdfdbd 100755 --- a/Tests/Package/GistsTest.php +++ b/Tests/Package/GistsTest.php @@ -87,7 +87,7 @@ public function testCreateGistFromFile() $data = json_encode( [ 'files' => [ - 'gittest' => ['content' => 'GistContent' . PHP_EOL], + 'gittest' => ['content' => file_get_contents(__DIR__ . '/../data/gittest')], ], 'public' => true, 'description' => 'This is a gist',