Skip to content

Commit 2844553

Browse files
committed
rewrite test to be compatible with laravel 11 floating-point-types
1 parent ca5185c commit 2844553

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/SchemaRulesTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,11 @@
258258
$decimalNullableColumnName
259259
) {
260260
$table->float($floatColumnName);
261-
$table->unsignedFloat($floatUnsignedColumnName);
261+
$table->float($floatUnsignedColumnName)->unsigned();
262262
$table->double($doubleColumnName);
263-
$table->unsignedDouble($doubleUnsignedColumnName);
263+
$table->double($doubleUnsignedColumnName)->unsigned();
264264
$table->decimal($decimalColumnName);
265-
$table->unsignedDecimal($decimalUnsignedColumnName);
265+
$table->decimal($decimalUnsignedColumnName)->unsigned();
266266
$table->decimal($decimalNullableColumnName)->nullable();
267267
});
268268

0 commit comments

Comments
 (0)