Skip to content

Commit

Permalink
Set environment variable in test
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Nov 5, 2024
1 parent fac15bb commit fe8846b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/end-to-end-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: vendor/bin/pest --stop-on-failure

- name: Prepare the Environment
run: echo -e "APP_URL=http://localhost:8080 \nDUSK_ENABLED=true\nSERVER_DASHBOARD=false" > .env
run: echo -e "APP_URL=http://localhost:8080 \nDUSK_ENABLED=true\nSERVER_DASHBOARD=false\nSERVER_SAVE_PREVIEW=true" > .env

- name: Upgrade Chrome Driver
run: php hyde dusk:chrome-driver `/opt/google/chrome/chrome --version | cut -d " " -f3 | cut -d "." -f1`
Expand Down
1 change: 0 additions & 1 deletion packages/realtime-compiler/tests/RealtimeCompilerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ class RealtimeCompilerTest extends UnitTestCase
public static function setUpBeforeClass(): void
{
putenv('SERVER_LIVE_EDIT=false');
putenv('SERVER_SAVE_PREVIEW=true');

define('BASE_PATH', realpath(__DIR__.'/../../../'));

Expand Down

0 comments on commit fe8846b

Please sign in to comment.