Skip to content

Commit 99fbde9

Browse files
fix ; test
1 parent ec065cf commit 99fbde9

4 files changed

Lines changed: 1 addition & 50 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
os: [ubuntu-latest]
1616
php: [8.2, 8.1]
1717
laravel: [10.*]
18-
stability: [prefer-lowest, prefer-stable]
18+
stability: [prefer-stable]
1919
include:
2020
- laravel: 10.*
2121
testbench: 8.*

database/factories/ModelFactory.php

Lines changed: 0 additions & 21 deletions
This file was deleted.

database/migrations/create_la_tiny_editor_table.php.stub

Lines changed: 0 additions & 19 deletions
This file was deleted.

tests/TestCase.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace Webplusmultimedia\LaTinyEditor\Tests;
66

7-
use Illuminate\Database\Eloquent\Factories\Factory;
87
use Orchestra\Testbench\TestCase as Orchestra;
98
use Webplusmultimedia\LaTinyEditor\LaTinyEditorServiceProvider;
109

@@ -14,9 +13,6 @@ protected function setUp(): void
1413
{
1514
parent::setUp();
1615

17-
Factory::guessFactoryNamesUsing(
18-
fn (string $modelName) => 'Webplusmultimedia\\LaTinyEditor\\Database\\Factories\\' . class_basename($modelName) . 'Factory'
19-
);
2016
}
2117

2218
protected function getPackageProviders($app)
@@ -28,11 +24,6 @@ protected function getPackageProviders($app)
2824

2925
public function getEnvironmentSetUp($app): void
3026
{
31-
config()->set('database.default', 'testing');
3227

33-
/*
34-
$migration = include __DIR__.'/../database/migrations/create_la-tiny-editor_table.php.stub';
35-
$migration->up();
36-
*/
3728
}
3829
}

0 commit comments

Comments
 (0)