From 2844553db48fc172afc808614c8bc753d06ea0c2 Mon Sep 17 00:00:00 2001 From: Diederik van Remoortere Date: Sat, 8 Jun 2024 15:02:49 +0200 Subject: [PATCH] rewrite test to be compatible with laravel 11 floating-point-types --- tests/SchemaRulesTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/SchemaRulesTest.php b/tests/SchemaRulesTest.php index 2370fe4..49e7fec 100644 --- a/tests/SchemaRulesTest.php +++ b/tests/SchemaRulesTest.php @@ -258,11 +258,11 @@ $decimalNullableColumnName ) { $table->float($floatColumnName); - $table->unsignedFloat($floatUnsignedColumnName); + $table->float($floatUnsignedColumnName)->unsigned(); $table->double($doubleColumnName); - $table->unsignedDouble($doubleUnsignedColumnName); + $table->double($doubleUnsignedColumnName)->unsigned(); $table->decimal($decimalColumnName); - $table->unsignedDecimal($decimalUnsignedColumnName); + $table->decimal($decimalUnsignedColumnName)->unsigned(); $table->decimal($decimalNullableColumnName)->nullable(); });