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:
parent
0440249631
commit
93fd4692f6
291 changed files with 11356 additions and 1696 deletions
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue