|
@@ -8,14 +8,6 @@ use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
|
|
|
|
|
class ApiControllerTest extends WebTestCase
|
|
class ApiControllerTest extends WebTestCase
|
|
{
|
|
{
|
|
- public function testPackages()
|
|
|
|
- {
|
|
|
|
- $client = self::createClient();
|
|
|
|
-
|
|
|
|
- $client->request('GET', '/packages.json');
|
|
|
|
- $this->assertTrue(count(json_decode($client->getResponse()->getContent())) > 0);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
public function testGithubFailsCorrectly()
|
|
public function testGithubFailsCorrectly()
|
|
{
|
|
{
|
|
$client = self::createClient();
|
|
$client = self::createClient();
|