Skip to content

Instantly share code, notes, and snippets.

@bassettsj
Last active August 29, 2015 14:22
Show Gist options
  • Select an option

  • Save bassettsj/49b2dcd156c02b617e67 to your computer and use it in GitHub Desktop.

Select an option

Save bassettsj/49b2dcd156c02b617e67 to your computer and use it in GitHub Desktop.
Fixtures recording gist
$ ./bin/phpunit-record-fixtures --filter testContractorProfileShouldHavePrivacy ./src/Odesk/Bundle/MobileBundle/Tests/Controller/RecruitControllerTest.php
Recording fixtures
Running phpunit
#!/usr/bin/env php
PHPUnit 4.4.1 by Sebastian Bergmann.
E
Time: 32 ms, Memory: 4.25Mb
There was 1 error:
1) Odesk\Bundle\MobileBundle\Tests\Controller\RecruitControllerTest::testContractorProfileShouldHavePrivacy
RuntimeException: Unable to guess the Kernel directory.
/Users/stevenbassett/Sites/eomobile-binder/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php:56
/Users/stevenbassett/Sites/eomobile-binder/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php:113
/Users/stevenbassett/Sites/eomobile-binder/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php:159
/Users/stevenbassett/Sites/eomobile-binder/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Test/KernelTestCase.php:140
/Users/stevenbassett/Sites/eomobile-binder/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php:33
/Users/stevenbassett/Sites/eomobile-binder/vendor/odesk/testing-bundle/TestCase/ControllerTestCase.php:39
/Users/stevenbassett/Sites/eomobile-binder/src/Odesk/Bundle/MobileBundle/Tests/AbstractMobileCtrlTestCase.php:62
/Users/stevenbassett/Sites/eomobile-binder/vendor/phpunit/phpunit/phpunit:62
FAILURES!
Tests: 1, Assertions: 0, Errors: 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment