Skip to content

Instantly share code, notes, and snippets.

View benoitMariaux's full-sized avatar
🏠
Working from home

Benoît Mariaux benoitMariaux

🏠
Working from home
  • Amazon Web Services
  • Paris - France
View GitHub Profile
<?php
namespace Ylly\Extension\YllyEcommerceBundle\Tests\Controller;
use Ylly\CmsBundle\Test\SiteWebTestCase;
use Ylly\Extension\SiteCustomerBundle\Entity\SiteCustomer;
use Ylly\Extension\YllyEcommerceBundle\DataInitializer\DataInitializer;
/**
* @group site
*/
<?php
namespace Ylly\Extension\ReminderBundle\Tests\Controller;
use Ylly\CmsBundle\Test\SiteWebTestCase;
use Ylly\Extension\SiteCustomerBundle\Entity\SiteCustomer;
/**
* @group site
*/
class SiteController_subscribeVetTest extends SiteWebTestCase
benoit@ubuntu:~/yProx(ghi-1047)$ hub pull-request -i 1047 Yproximite:master -h benoitMariaux:ghi-1047
Error creating pull request: Unprocessable Entity (HTTP 422)
Invalid value for "issue": "1047"
benoit@ubuntu:~/yProx(ghi-1047)$ hub pull-request -i 1047 Yproximite:master -h benoitMariaux:ghi-1047
Error creating pull request: Unprocessable Entity (HTTP 422)
Invalid value for "issue": "1047"
<?php
namespace Ylly\Extension\SiteCustomerBundle\Controller;
use Ylly\CmsBundle\Controller\AdminBaseController;
use Ylly\Extension\SiteCustomerBundle\Entity\SiteCustomer;
use Ylly\Extension\SiteCustomerBundle\Form\SiteCustomerForm;
use Ylly\Extension\SiteCustomerBundle\Form\AdminCreateForm;
class AdminController extends AdminBaseController
public function testContent()
{
$client = $this->makeClient(true);
$crawler = $client->request('GET', '/site/1/contents');
}
public function testContent()
{
$content = $this->getEm()->getRepository('StoreLocatorBundle:StoreLocatorContent')->findOneBy(array(
'storeLocator' => $this->storeLocator->getId(),
));
$url = $this->getUrl('content_test', array(
'content_id' => $content->getId(),
'site_id' => 1,
'_allow_base_site' => 1,
Symfony > doctrine:migrations:migrate
Application Migrations
WARNING! You are about to execute a database migration that could result in schema changes and data lost. Are you sure you wish to continue? (y/n)y
Migrating up to 20131203165923 from 20131108083116
++ migrating 20131129111111
127.0.0.1 testweb.fr
127.0.0.1 basesite.testweb.fr
127.0.0.1 inscription.testweb.fr admin.testweb.fr
127.0.0.1 old-major.testweb.fr napolean.testweb.fr snowball.testweb.fr squealer.testweb.fr
127.0.0.1 minimus.testweb.fr