From e744195e636a327ea6cbad7b34bb41b779ef44ee Mon Sep 17 00:00:00 2001 From: Stefan Hagspiel Date: Thu, 14 Nov 2024 11:33:48 +0100 Subject: [PATCH] update test setup (#168) --- .github/workflows/codeception.yml | 10 +++++----- .github/workflows/ecs.yml | 10 +++++----- .github/workflows/php-stan.yml | 10 +++++----- tests/_envs/local.yml | 2 +- tests/_etc/config/app/config.yaml | 14 ++++++++++++-- 5 files changed, 28 insertions(+), 18 deletions(-) diff --git a/.github/workflows/codeception.yml b/.github/workflows/codeception.yml index 083442e..453fa2c 100644 --- a/.github/workflows/codeception.yml +++ b/.github/workflows/codeception.yml @@ -38,12 +38,12 @@ jobs: options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 strategy: matrix: - php: [ 8.2 ] - symfony: [ ^6.2 ] - pimcore: [ ~11.2.0 ] + php: [ 8.3 ] + symfony: [ ^6.4 ] + pimcore: [ ~11.4.0 ] include: - - pimcore: ~11.2.0 - template_tag: v11.0.0 + - pimcore: ~11.4.0 + template_tag: 2024.3 steps: - uses: nanasess/setup-chromedriver@v2 - uses: actions/checkout@v4 diff --git a/.github/workflows/ecs.yml b/.github/workflows/ecs.yml index 92e4519..00b77e8 100644 --- a/.github/workflows/ecs.yml +++ b/.github/workflows/ecs.yml @@ -37,12 +37,12 @@ jobs: options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 strategy: matrix: - php: [ 8.2 ] - symfony: [ ^6.2 ] - pimcore: [ ~11.2.0 ] + php: [ 8.3 ] + symfony: [ ^6.4 ] + pimcore: [ ~11.4.0 ] include: - - pimcore: ~11.2.0 - template_tag: v11.0.0 + - pimcore: ~11.4.0 + template_tag: 2024.3 steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/php-stan.yml b/.github/workflows/php-stan.yml index f596488..deb15ad 100644 --- a/.github/workflows/php-stan.yml +++ b/.github/workflows/php-stan.yml @@ -37,12 +37,12 @@ jobs: options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 strategy: matrix: - php: [ 8.2 ] - symfony: [ ^6.2 ] - pimcore: [ ~11.2.0 ] + php: [ 8.3 ] + symfony: [ ^6.4 ] + pimcore: [ ~11.4.0 ] include: - - pimcore: ~11.2.0 - template_tag: v11.0.0 + - pimcore: ~11.4.0 + template_tag: 2024.3 steps: - uses: actions/checkout@v4 with: diff --git a/tests/_envs/local.yml b/tests/_envs/local.yml index abd7179..605a31f 100644 --- a/tests/_envs/local.yml +++ b/tests/_envs/local.yml @@ -7,4 +7,4 @@ modules: wait: 1 capabilities: chromeOptions: - args: ['--no-sandbox', '--disable-extensions', '--headless', '--disable-gpu', '--disable-dev-shm-usage', '--window-size=1024,768'] + args: ['--disable-extensions', '--headless', '--disable-gpu', '--disable-dev-shm-usage', '--window-size=1280,1024'] diff --git a/tests/_etc/config/app/config.yaml b/tests/_etc/config/app/config.yaml index aceae0d..d2c5358 100755 --- a/tests/_etc/config/app/config.yaml +++ b/tests/_etc/config/app/config.yaml @@ -11,6 +11,10 @@ services: - [setContainer, ['@service_container']] doctrine: + orm: + entity_managers: + default: + connection: default dbal: connections: default: @@ -51,7 +55,15 @@ pimcore: write_target: type: 'settings-store' +pimcore_admin: + admin_csp_header: + enabled: false + framework: + + session: + storage_factory_id: session.storage.factory.mock_file + profiler: enabled: true collect: false @@ -60,5 +72,3 @@ framework: transports: main: 'null://null' pimcore_newsletter: 'null://null' - session: - storage_factory_id: session.storage.factory.mock_file \ No newline at end of file