Skip to content

Instantly share code, notes, and snippets.

View Spoygg's full-sized avatar

Ivan Ivanić Spoygg

View GitHub Profile
27 /source:master!? % phpunit -c app src/App/ApiBundle/Tests/Controller/AvatarControllerTest.php
PHPUnit 3.7.22 by Sebastian Bergmann.
Configuration read from /source/app/phpunit.xml.dist
error : No such file or directory
convert.im6: no decode delegate for this image format `/tmp/magick-ZsUFCMxf' @ error/constitute.c/ReadImage/544.
convert.im6: no data returned `http://itsmyplay.dev/app_dev.php/media-store/photos/2/5/f/25f2e7be14d92bf3ec5b9f87e0ae5c4e9c6cfd46' @ error/url.c/ReadURLImage/232.
convert.im6: no images defined `-' @ error/convert.c/ConvertImageCommand/3044.
error : No such file or directory
/**
* @Get("/api/v1/profile/collections", name="api.profile.collections")
*/
public function profileCollectionsAction()
{
$userService = $this->container->get('user_service');
$view = $this->view(
$userService->getProfileCollections(),
200,
array()
1) App\ApiBundle\Tests\Controller\InsightsControllerTest::testFollowersMetric
Exception: Id "" is not found.
/source/src/App/UserBundle/Entity/Lists/CountryRepository.php:55
/source/src/App/DomainBundle/Insights/InsightsService.php:164
/source/src/App/ApiBundle/Tests/Controller/InsightsControllerTest.php:154
PHP Fatal error: Call to a member function getName() on a non-object in /source/src/App/DomainBundle/Tests/ServiceTestCase.php on line 108
PHP Stack trace:
PHP 1. {main}() /source/vendor/phpunit/phpunit/composer/bin/phpunit:0
PHP 2. PHPUnit_TextUI_Command::main() /source/vendor/phpunit/phpunit/composer/bin/phpunit:63
PHP 3. PHPUnit_TextUI_Command->run() /source/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php:129
PHP 4. PHPUnit_TextUI_TestRunner->doRun() /source/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php:176
PHP 5. PHPUnit_Framework_TestSuite->run() /source/vendor/phpunit/phpunit/PHPUnit/TextUI/TestRunner.php:349
PHP 6. PHPUnit_Framework_TestSuite->run() /source/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:705
PHP 7. PHPUnit_Framework_TestSuite->runTest() /source/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:745
PHP 8. PHPUnit_Framework_TestCase->run() /source/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:775
PHP Fatal error: Call to a member function getName() on a non-object in /source/src/App/DomainBundle/Tests/ServiceTestCase.php on line 108
PHP Stack trace:
PHP 1. {main}() /source/vendor/phpunit/phpunit/composer/bin/phpunit:0
PHP 2. PHPUnit_TextUI_Command::main() /source/vendor/phpunit/phpunit/composer/bin/phpunit:63
PHP 3. PHPUnit_TextUI_Command->run() /source/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php:129
PHP 4. PHPUnit_TextUI_TestRunner->doRun() /source/vendor/phpunit/phpunit/PHPUnit/TextUI/Command.php:176
PHP 5. PHPUnit_Framework_TestSuite->run() /source/vendor/phpunit/phpunit/PHPUnit/TextUI/TestRunner.php:349
PHP 6. PHPUnit_Framework_TestSuite->run() /source/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:705
PHP 7. PHPUnit_Framework_TestSuite->runTest() /source/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:745
PHP 8. PHPUnit_Framework_TestCase->run() /source/vendor/phpunit/phpunit/PHPUnit/Framework/TestSuite.php:775
[
{
detailType: 1, // ovo da bih mogao da napravim url za add detalja
title: "Related links", // da prikažem naslov
details: [
{
id: 10, // da bih mogao da pošaljem delete request
title: 'Wikipedia',
url: 'http://wikipedia.org',
display: '<a>wiki</a>'
[
{
detailType: 1, // ovo da bih mogao da napravim url za add detalja
title: "Related links", // da prikažem naslov
details: [
{
id: 10, // da bih mogao da pošaljem delete request
title: 'Wikipedia',
url: 'http://wikipedia.org',
display: '<a>wiki</a>'
spoygg@Yggdrasill ~/S/itsmyplay> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'itsmyplay'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[Berkshelf] Berkshelf plugin is disabled but a Berksfile was found at your configured path: /home/spoygg/Saturized/itsmyplay/Berksfile
[Berkshelf] Enable the Berkshelf plugin by setting 'config.berkshelf.enabled = true' in your vagrant config
Pruning invalid NFS exports. Administrator privileges will be required...
[default] Creating shared folders metadata...
/** @AfterStep */
public function showContentAfterFailure(StepEvent $event)
{
try {
if ($event->hasException()) {
$this->saveScreenshot(
sprintf(
'screenshot-%s-%s.png',
date('Y-m-d_h-i-s', time()),
str_replace(' ', '_', $event->getLogicalParent()->getTitle())
vagrant@unwrap:/source$ composer install
Loading composer repositories with package information
Installing dependencies from lock file
Generating autoload files
[Symfony\Component\Config\Exception\FileLoaderLoadException]
Cannot import resource "parameters.yml" from "/source/app/config/config.yml".