File tree Expand file tree Collapse file tree 2 files changed +2
-15
lines changed
Expand file tree Collapse file tree 2 files changed +2
-15
lines changed Original file line number Diff line number Diff line change 22
33All notable changes to ` laravel-patches ` will be documented in this file.
44
5- ## 0 .0.1 - 2021-03-07
5+ ## 1 .0.0 - 2021-03-07
66
77- Initial Release
Original file line number Diff line number Diff line change 22
33namespace Rappasoft \LaravelPatches \Tests ;
44
5- use Illuminate \Database \Eloquent \Factories \Factory ;
65use Illuminate \Foundation \Testing \DatabaseTransactions ;
76use Orchestra \Testbench \TestCase as Orchestra ;
87use Rappasoft \LaravelPatches \LaravelPatchesServiceProvider ;
98
10- /**
11- * Class TestCase
12- *
13- * @package Rappasoft\LaravelPatches\Tests
14- */
159class TestCase extends Orchestra
1610{
1711 use DatabaseTransactions;
1812
19- /**
20- *
21- */
2213 public function setUp (): void
2314 {
2415 parent ::setUp ();
2516
26- Factory::guessFactoryNamesUsing (
27- fn (string $ modelName ) => 'Rappasoft \\LaravelPatches \\Database \\Factories \\' .class_basename ($ modelName ).'Factory '
28- );
29-
3017 $ this ->clearPatches ();
3118 }
3219
@@ -59,7 +46,7 @@ public function getEnvironmentSetUp($app)
5946 }
6047
6148 /**
62- *
49+ * Clear the database/patches folder in Orchestra
6350 */
6451 public function clearPatches (): void
6552 {
You can’t perform that action at this time.
0 commit comments