Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio committed Dec 14, 2023
1 parent 2641b36 commit 632b357
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
mysql:
image: mysql:8
env:
MYSQL_DATABASE: sunrise_tests
MYSQL_DATABASE: tests
MYSQL_ALLOW_EMPTY_PASSWORD: yes
ports:
- 3306/tcp
Expand Down Expand Up @@ -79,6 +79,4 @@ jobs:
- name: Run tests
run: php artisan test
env:
DB_CONNECTION: mysql
DB_DATABASE: sunrise_tests
DB_PORT: ${{ job.services.mysql.ports[3306] }}
4 changes: 2 additions & 2 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
<server name="APP_ENV" value="testing"/>
<server name="BCRYPT_ROUNDS" value="4"/>
<server name="CACHE_DRIVER" value="database"/>
<server name="DB_CONNECTION" value="sqlite"/>
<server name="DB_DATABASE" value=":memory:"/>
<server name="DB_CONNECTION" value="mysql"/>
<server name="DB_DATABASE" value="tests"/>
<server name="MAIL_MAILER" value="array"/>
<server name="QUEUE_CONNECTION" value="sync"/>
<server name="SESSION_DRIVER" value="array"/>
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/LoginTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

use App\Filament\Pages\Auth\Login;
use App\Filament\Organizations\Pages\Auth\Login;
use App\Models\User;
use Filament\Facades\Filament;
use Illuminate\Support\Str;
Expand Down

0 comments on commit 632b357

Please sign in to comment.