<?php

require_once __DIR__ . '/../vendor/autoload.php';

$app = new Silex\Application();

$app->get('/issuers/{id}', function($id) use ($app) {

});

$app->get('/badges', function() use ($app) {
  $body = array();
  $json_body = json_encode($body);

  return $json_body;
});

$app->run();

<?php

require_once __DIR__ . '/../vendor/autoload.php';

$app = new Silex\Application();

$app->get('/issuers/{id}', function($id) use ($app) {

});

$app->get('/badges', function() use ($app) {

});

$app->run();

--- 
+++ 
@@ -9,7 +9,10 @@
 });
 
 $app->get('/badges', function() use ($app) {
+  $body = array();
+  $json_body = json_encode($body);
 
+  return $json_body;
 });
 
 $app->run();
Return JSON for /badges to make test pass
