diff --git a/tests/ApiTest.php b/tests/ApiTest.php
index <HASH>..<HASH> 100644
--- a/tests/ApiTest.php
+++ b/tests/ApiTest.php
@@ -28,9 +28,7 @@ class ApiTest extends TestCase
 
         $api->go()->respond();
 
-        $output = json_decode(ob_get_contents());
-
-        ob_clean();
+        $output = json_decode(ob_get_clean());
 
 
         // Children
Get and clean and hopefully not break tests.