Skip to content

Commit

Permalink
Merge branch '8.x' into 9.x
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Aug 29, 2023
2 parents cddb14b + a8ad165 commit fea6730
Show file tree
Hide file tree
Showing 8 changed files with 75 additions and 63 deletions.
33 changes: 33 additions & 0 deletions CHANGELOG-7.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,39 @@

This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`.

## 7.30.0

Released: 2023-08-29

### Changes

* Update minimum support for Testbench Core v7.30.0+. ([v7.29.1...v7.30.0](https://github.com/orchestral/testbench-core/compare/v7.29.1...v7.30.0))

#### Testbench Changes

##### Added

* Add ability to automatically run default Laravel migrations using `Orchestra\Testbench\Concerns\WithLaravelMigrations`.
* Add Console Actions classes:
- `Orchestra\Testbench\Foundation\Console\Actions\DeleteFiles`
- `Orchestra\Testbench\Foundation\Console\Actions\DeleteDirectories`
- `Orchestra\Testbench\Foundation\Console\Actions\EnsureDirectoryExists`
- `Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile`

## 7.29.1

Released: 2023-08-22

### Changes

* Update minimum support for Testbench Core v7.29.1+. ([v7.29.0...v7.29.1](https://github.com/orchestral/testbench-core/compare/v7.29.0...v7.29.1))

#### Testbench Changes

##### Changes

* Allow using `$model` property override when extending `Orchestra\Testbench\Factories\UserFactory`.

## 7.29.0

Released: 2023-08-19
Expand Down
35 changes: 35 additions & 0 deletions CHANGELOG-8.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,41 @@

This changelog references the relevant changes (bug and security fixes) done to `orchestra/testbench`.

## 8.10.0

Released: 2023-08-29

### Changes

* Support Laravel Framework `10.21`.
* Update minimum support for Testbench Core v8.10.0+. ([v8.9.1...v8.10.0](https://github.com/orchestral/testbench-core/compare/v8.9.1...v8.10.0))

#### Testbench Changes

##### Added

* Add ability to automatically run default Laravel migrations using `Orchestra\Testbench\Concerns\WithLaravelMigrations`.
* Add Console Actions classes:
- `Orchestra\Testbench\Foundation\Console\Actions\DeleteFiles`
- `Orchestra\Testbench\Foundation\Console\Actions\DeleteDirectories`
- `Orchestra\Testbench\Foundation\Console\Actions\EnsureDirectoryExists`
- `Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile`

## 8.9.1

Released: 2023-08-22

### Changes

* Support Laravel Framework `10.20`.
* Update minimum support for Testbench Core v8.9.1+. ([v8.9.0...v8.9.1](https://github.com/orchestral/testbench-core/compare/v8.9.0...v8.9.1))

#### Testbench Changes

##### Changes

* Allow using `$model` property override when extending `Orchestra\Testbench\Factories\UserFactory`.

## 8.9.0

Released: 2023-08-19
Expand Down
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,13 @@
"vlucas/phpdotenv": "^5.4.1"
},
"scripts": {
"post-autoload-dump": "@composer run prepare",
"post-autoload-dump": "@prepare",
"prepare": "@php vendor/bin/testbench package:discover --ansi",
"ci": "@composer run prepare",
"test": "@php vendor/bin/phpunit -c ./ --color"
"test": "@php vendor/bin/phpunit -c ./ --color",
"ci": [
"@prepare",
"@test"
]
},
"config": {
"sort-packages": true
Expand Down
2 changes: 1 addition & 1 deletion core
Submodule core updated 33 files
+21 −0 CHANGELOG-7.x.md
+21 −0 CHANGELOG-8.x.md
+5 −5 composer.json
+1 −0 laravel/config/mail.php
+1 −0 phpunit.xml
+5 −0 src/Concerns/HandlesDatabases.php
+145 −0 src/Concerns/InteractsWithMigrations.php
+2 −3 src/Concerns/Testing.php
+3 −79 src/Concerns/WithLaravelMigrations.php
+0 −64 src/Concerns/WithLoadMigrationsFrom.php
+3 −1 src/Factories/UserFactory.php
+1 −0 src/Foundation/Bootstrap/LoadMigrationsFromArray.php
+32 −0 src/Foundation/Console/Actions/Action.php
+50 −0 src/Foundation/Console/Actions/DeleteDirectories.php
+52 −0 src/Foundation/Console/Actions/DeleteFiles.php
+51 −0 src/Foundation/Console/Actions/EnsureDirectoryExists.php
+58 −0 src/Foundation/Console/Actions/GeneratesFile.php
+0 −0 src/Foundation/Console/Actions/stubs/.gitkeep
+3 −0 src/Foundation/Console/Concerns/InteractsWithIO.php
+10 −12 src/Foundation/Console/CreateSqliteDbCommand.php
+5 −15 src/Foundation/Console/DropSqliteDbCommand.php
+24 −73 src/Foundation/Console/PurgeSkeletonCommand.php
+4 −2 src/Foundation/Console/TestCommand.php
+1 −2 src/TestCase.php
+1 −1 src/helpers.php
+5 −5 tests/CommanderTest.php
+44 −0 tests/Databases/MigrateWithLaravelMigrationsTest.php
+34 −0 tests/Foundation/Console/Actions/DeleteDirectoriesTest.php
+34 −0 tests/Foundation/Console/Actions/DeleteFilesTest.php
+37 −0 tests/Foundation/Console/Actions/EnsureDirectoryExistsTest.php
+87 −0 tests/Foundation/Console/Actions/GeneratesFileTest.php
+1 −1 tests/Foundation/Console/CreateSqliteDbCommandTest.php
+1 −1 tests/Foundation/Console/DropSqliteDbCommandTest.php
1 change: 0 additions & 1 deletion sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ git submodule foreach git checkout $BRANCH
git submodule foreach git pull

cp -rf core/testbench.yaml ./
cp -rf core/workbench ./
3 changes: 0 additions & 3 deletions workbench/.gitignore

This file was deleted.

13 changes: 0 additions & 13 deletions workbench/app/Providers/TestbenchServiceProvider.php

This file was deleted.

This file was deleted.

0 comments on commit fea6730

Please sign in to comment.