reconstruction of the project
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
|
||||
namespace Tests\Unit\Models;
|
||||
|
||||
use App\Models\Settings;
|
||||
use App\Models\Setting;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class SettingsTest extends TestCase
|
||||
{
|
||||
public function test_model_metadata_is_converted(): void
|
||||
{
|
||||
$model = new Settings();
|
||||
$model = new Setting();
|
||||
|
||||
$this->assertSame('settings', $model->getTable());
|
||||
$this->assertSame('id', $model->getKeyName());
|
||||
@@ -19,6 +19,6 @@ class SettingsTest extends TestCase
|
||||
|
||||
public function test_model_class_loads(): void
|
||||
{
|
||||
$this->assertInstanceOf(Settings::class, new Settings());
|
||||
$this->assertInstanceOf(Setting::class, new Setting());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user