1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-10 18:51:02 +00:00

symfony is there

This commit is contained in:
Nicolas Lœuillet 2015-01-22 08:30:07 +01:00
parent 0440249631
commit 93fd4692f6
291 changed files with 11356 additions and 1696 deletions

View file

@ -0,0 +1,18 @@
<?php
namespace WallabagBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class DefaultControllerTest extends WebTestCase
{
public function testIndex()
{
$client = static::createClient();
$crawler = $client->request('GET', '/app/index');
$this->assertEquals(200, $client->getResponse()->getStatusCode());
$this->assertTrue($crawler->filter('html:contains("Homepage")')->count() > 0);
}
}