Skip to content

Commit

Permalink
Merge pull request #37 from envor/main
Browse files Browse the repository at this point in the history
Run all migrations for tests
  • Loading branch information
inmanturbo authored Jul 10, 2024
2 parents da4c85f + af00e63 commit 4b840be
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to `one-app` will be documented in this file.

## v1.0.28 - 2024-07-10

### What's Changed

* User Factory for invitation-only-super-admin and shared migrations for all by @inmanturbo in https://github.com/envor/one-app/pull/36

**Full Changelog**: https://github.com/envor/one-app/compare/v1.0.27...v1.0.28

## v1.0.27 - 2024-07-10

### What's Changed
Expand Down
2 changes: 2 additions & 0 deletions stubs/one-app/tests/Pest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
config(['database.connections.testing_app' => config('database.connections.sqlite')]);

Artisan::call('migrate:fresh --database=testing_platform --path=database/migrations/platform');
Artisan::call('migrate:fresh --database=testing_app --path=database/migrations/shared');
Artisan::call('migrate --database=testing_app');
})
->in('Feature');

Expand Down
2 changes: 2 additions & 0 deletions stubs/passport/tests/Pest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
config(['database.connections.testing_app' => config('database.connections.sqlite')]);

Artisan::call('migrate:fresh --database=testing_platform --path=database/migrations/platform');
Artisan::call('migrate:fresh --database=testing_app --path=database/migrations/shared');
Artisan::call('migrate --database=testing_app');

Artisan::call('passport:keys', ['--length' => 4096]);
})
Expand Down

0 comments on commit 4b840be

Please sign in to comment.