Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone authored Jan 26, 2025
1 parent 3924ff9 commit bb7a5f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/SushiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,11 @@ function model_with_custom_schema()
ModelWithCustomSchema::count();
$connectionBuilder = ModelWithCustomSchema::resolveConnection()->getSchemaBuilder();
$this->assertEquals(
function_exists(laravel_version_compare::class) && laravel_version_compare('11.0.0', '>=') ? 'varchar' : 'string',
function_exists('\Orchestra\Testbench\laravel_version_compare') && laravel_version_compare('11.0.0', '>=') ? 'varchar' : 'string',
$connectionBuilder->getColumnType('model_with_custom_schemas', 'float')
);
$this->assertEquals(
function_exists(laravel_version_compare::class) && laravel_version_compare('11.0.0', '>=') ? 'varchar' : 'string',
function_exists('\Orchestra\Testbench\laravel_version_compare') && laravel_version_compare('11.0.0', '>=') ? 'varchar' : 'string',
$connectionBuilder->getColumnType('model_with_custom_schemas', 'string')
);
}
Expand Down

0 comments on commit bb7a5f9

Please sign in to comment.