Skip to content

Commit 48196f0

Browse files
committed
fix loading fixtures
1 parent acb3a82 commit 48196f0

File tree

11 files changed

+34
-8
lines changed

11 files changed

+34
-8
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/vendor/
22
/node_modules
3-
/composer.lock
3+
composer.lock
44

55
/etc/build/*
66
!/etc/build/.gitignore

docker-compose.yml renamed to compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3.4'
2-
31
services:
42
php:
53
build:

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"license": "MIT",
1010
"require": {
1111
"php": ">=8.1",
12-
"sylius/sylius": "^1.11||^2.0"
12+
"sylius/sylius": "^2.0"
1313
},
1414
"require-dev": {
1515
"behat/behat": "^3.6.1",
@@ -25,7 +25,6 @@
2525
"friends-of-behat/suite-settings-extension": "^1.0",
2626
"friends-of-behat/symfony-extension": "^2.1",
2727
"friends-of-behat/variadic-extension": "^1.3",
28-
"friendsofsymfony/oauth-server-bundle": "^1.6 || >2.0.0-alpha.0 ^2.0@dev",
2928
"phpstan/extension-installer": "^1.0",
3029
"phpstan/phpstan": "^1.8.4",
3130
"phpstan/phpstan-doctrine": "^1.3.12",
@@ -46,7 +45,8 @@
4645
"allow-plugins": {
4746
"symfony/thanks": false,
4847
"dealerdirect/phpcodesniffer-composer-installer": false,
49-
"phpstan/extension-installer": false
48+
"phpstan/extension-installer": false,
49+
"php-http/discovery": false
5050
}
5151
},
5252
"extra": {

tests/Application/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ APP_SECRET=EDITME
1212
# Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
1313
# For a sqlite database, use: "sqlite:///%kernel.project_dir%/var/data.db"
1414
# Set "serverVersion" to your server version to avoid edge-case exceptions and extra database calls
15-
DATABASE_URL=mysql://[email protected]/acme_sylius_example_plugin_%kernel.environment%?serverVersion=5.7
15+
DATABASE_URL=mysql://root:nopassword@127.0.0.1/jbdevlabs_sylius_clicontext_plugin_%kernel.environment%?serverVersion=5.7
1616
###< doctrine/doctrine-bundle ###
1717

1818
###> lexik/jwt-authentication-bundle ###

tests/Application/composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"name": "pocky/modern-plugin-skeleton-test-application",
33
"description": "Sylius application for modern plugin testing purposes (composer.json needed for project dir resolving)",
4-
"license": "MIT"
4+
"license": "MIT",
5+
"require": {
6+
"nyholm/psr7": "^1.8"
7+
}
58
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
imports:
2+
- { resource: "@SyliusPayumBundle/Resources/config/app/config.yaml" }
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
sylius_shop_payum:
3+
resource: "@SyliusPayumBundle/Resources/config/routing/integrations/sylius_shop.yaml"
4+
5+
sylius_payment_notify:
6+
resource: "@SyliusPaymentBundle/Resources/config/routing/integrations/sylius.yaml"
7+
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
when@test: &sylius_test_plugin_main_test
2+
sylius_test_plugin_main:
3+
path: /test/main
4+
controller: Symfony\Bundle\FrameworkBundle\Controller\TemplateController::templateAction
5+
defaults:
6+
template: "@SyliusTestPlugin/main.html.twig"
7+
8+
when@test_cached: *sylius_test_plugin_main_test
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ux_autocomplete:
2+
resource: '@AutocompleteBundle/config/routes.php'
3+
prefix: '/autocomplete'
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
live_component:
2+
resource: '@LiveComponentBundle/config/routes.php'
3+
prefix: '/_components'
4+
# adjust prefix to add localization to your components
5+
#prefix: '/{_locale}/_components'

0 commit comments

Comments
 (0)