Skip to content

Commit 570e1ba

Browse files
committed
Tweaks
1 parent 8f7fdd5 commit 570e1ba

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
All 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

tests/TestCase.php

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,18 @@
22

33
namespace Rappasoft\LaravelPatches\Tests;
44

5-
use Illuminate\Database\Eloquent\Factories\Factory;
65
use Illuminate\Foundation\Testing\DatabaseTransactions;
76
use Orchestra\Testbench\TestCase as Orchestra;
87
use Rappasoft\LaravelPatches\LaravelPatchesServiceProvider;
98

10-
/**
11-
* Class TestCase
12-
*
13-
* @package Rappasoft\LaravelPatches\Tests
14-
*/
159
class 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
{

0 commit comments

Comments
 (0)