fix gitlab tests

This commit is contained in:
root
2026-06-09 02:32:58 -04:00
parent 20a0b6c4e5
commit 6def9993da
1489 changed files with 10449 additions and 11356 deletions
+3 -3
View File
@@ -9,16 +9,16 @@ class PreferencesTest extends TestCase
{
public function test_model_metadata_is_converted(): void
{
$model = new Preferences;
$model = new Preferences();
$this->assertSame('user_preferences', $model->getTable());
$this->assertSame('id', $model->getKeyName());
$this->assertSame(true, $model->timestamps);
$this->assertSame(['user_id', 'notification_email', 'notification_sms', 'theme', 'language', 'style_color', 'menu_color', 'menu_custom_bg', 'menu_custom_text', 'menu_custom_mode', 'created_at', 'updated_at'], $model->getFillable());
$this->assertSame(["user_id", "notification_email", "notification_sms", "theme", "language", "style_color", "menu_color", "menu_custom_bg", "menu_custom_text", "menu_custom_mode", "created_at", "updated_at"], $model->getFillable());
}
public function test_model_class_loads(): void
{
$this->assertInstanceOf(Preferences::class, new Preferences);
$this->assertInstanceOf(Preferences::class, new Preferences());
}
}