Skip to content

Commit

Permalink
Update test case for 11
Browse files Browse the repository at this point in the history
  • Loading branch information
askdkc committed Jan 16, 2024
1 parent 92ff933 commit 95f976f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,5 @@ jobs:
- name: List Installed Dependencies
run: composer show -D

- name: Laravel Setup
run: |
cp .env.test .env
- name: Execute tests
run: vendor/bin/pest --ci
2 changes: 2 additions & 0 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ protected function setUp(): void
{
parent::setUp();

copy (__DIR__.'/../vendor/orchestra/testbench-core/laravel/.env.example', __DIR__.'/../vendor/orchestra/testbench-core/laravel/.env');

// テスト用のファイルが残ってたら消す(web.php)
if (is_file(__DIR__.'/../vendor/orchestra/testbench-core/laravel/routes/web.php')) {
unlink(__DIR__.'/../vendor/orchestra/testbench-core/laravel/routes/web.php');
Expand Down

0 comments on commit 95f976f

Please sign in to comment.