Skip to content

Commit

Permalink
Avoid calling deprecated Type::getName() (#6359)
Browse files Browse the repository at this point in the history
Follow-up to #6358 (@sbuerk): `getName()` is gone on 4.0.x. This change
will make merging this test up easier for us.
  • Loading branch information
derrabus committed Apr 16, 2024
1 parent e2a6621 commit edbf307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Functional/Schema/PostgreSQLSchemaManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ public function testJsonDefaultValue(): void

$columns = $this->schemaManager->listTableColumns('test_json');

self::assertSame(Types::JSON, $columns['foo']->getType()->getName());
self::assertSame(Type::getType(Types::JSON), $columns['foo']->getType());
self::assertSame('{"key": "value with a single quote \' in string value"}', $columns['foo']->getDefault());
}

Expand Down

0 comments on commit edbf307

Please sign in to comment.