Skip to content

Commit

Permalink
fix: allow Sylius 1.8 (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpoulain authored Oct 15, 2020
1 parent e63fec0 commit 2c3ea30
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"require": {
"php": "^7.4",
"simshaun/recurr": "^4.0",
"sylius/sylius": "<1.8",
"sylius/sylius": "^1.7",
"symfony/lock": "^4.4 || ^5.0"
},
"require-dev": {
Expand Down
1 change: 1 addition & 0 deletions tests/Application/config/bundles.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,5 @@
CoopTilleuls\SyliusClickNCollectPlugin\CoopTilleulsSyliusClickNCollectPlugin::class => ['all' => true],
Symfony\Bundle\DebugBundle\DebugBundle::class => ['dev' => true, 'test' => true, 'test_cached' => true],
Symfony\Bundle\WebProfilerBundle\WebProfilerBundle::class => ['dev' => true, 'test' => true, 'test_cached' => true],
SyliusLabs\DoctrineMigrationsExtraBundle\SyliusLabsDoctrineMigrationsExtraBundle::class => ['all' => true],
];
7 changes: 3 additions & 4 deletions tests/Application/config/packages/doctrine_migrations.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
doctrine_migrations:
dir_name: "%kernel.project_dir%/src/Migrations"

# Namespace is arbitrary but should be different from App\Migrations as migrations classes should NOT be autoloaded
namespace: DoctrineMigrations
storage:
table_storage:
table_name: sylius_migrations
2 changes: 1 addition & 1 deletion tests/E2e/ShopTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function testOrder(): void
$client = self::createPantherClient();

$crawler = $client->request('GET', '/');
$this->assertPageTitleContains('Sylius');
$this->assertPageTitleContains('Fashion Web Store');

$client->click($crawler->filter('a.sylius-product-name')->link());

Expand Down

0 comments on commit 2c3ea30

Please sign in to comment.