Skip to content
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.

Commit

Permalink
Debug...
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj committed Feb 4, 2016
1 parent eac551a commit a7a7440
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ install: if [ "$COMPOSER_CMD" = "install" ]; then composer install --prefer-dist

before_script:
- app/console doctrine:phpcr:init:dbal --force -e=test
- app/console doctrine:phpcr:workspace:create standard_test -e=test
- app/console doctrine:phpcr:repository:init -e=test

script: phpunit -c app
Expand Down
2 changes: 1 addition & 1 deletion src/Acme/DemoBundle/Tests/Functional/StaticPageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function testHomePage()
$client = $this->createClient();

$crawler = $client->request('GET', '/');
$this->assertEquals(200, $client->getResponse()->getStatusCode());
$this->assertEquals(200, $client->getResponse()->getStatusCode(), $crawler->html());

$title = 'Welcome!';
$this->assertCount(1, $crawler->filter(sprintf('h1:contains("%s")', $title)), 'Page does not contain an h1 tag with: '.$title);
Expand Down
10 changes: 10 additions & 0 deletions src/AppBundle/Controller/DefaultController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace AppBundle\Controller;

use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;

class DefaultController extends Controller
{
}

0 comments on commit a7a7440

Please sign in to comment.