Skip to content

Commit 9d4b593

Browse files
author
guillermo-fisher
committed
Should be decoding and not encoding the JSON in the StatsTest as well.
1 parent 5b36194 commit 9d4b593

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Github/Tests/Api/Enterprise/StatsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class StatsTest extends TestCase
1212
public function shouldShowStats()
1313
{
1414
$expectedJson = $this->getJson();
15-
$expectedArray = json_encode($expectedJson);
15+
$expectedArray = json_decode($expectedJson);
1616

1717
$api = $this->getApiMock();
1818
$api->expects($this->once())

0 commit comments

Comments
 (0)