-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove calls to fixSchemaElementName()
#8941
Remove calls to fixSchemaElementName()
#8941
Conversation
fixSchemaElementName()
354dc68
to
2226d8c
Compare
2226d8c
to
ad9f67c
Compare
ad9f67c
to
8f8726b
Compare
8f8726b
to
e774c0d
Compare
@@ -672,6 +666,22 @@ private function determineIdGeneratorStrategy(AbstractPlatform $platform): int | |||
return ClassMetadata::GENERATOR_TYPE_TABLE; | |||
} | |||
|
|||
private function truncateSequenceName(string $schemaElementName): string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov has multiple lines marked as uncovered for truncateSequenceName()
. Are these lines relevant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently, we're not testing sequences on Oracle. 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do test part of this method though, so there must be existing test that we might be enable for Oracle. Let's debug_print_backtrace();
to figure this out :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently it's PostgreSQL (not suprised), but I couldn't get the name of the current test. Let's use --debug
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok so it's Doctrine\Tests\ORM\Cache\DefaultCollectionHydratorTest::testImplementsCollectionEntryStructure
🤔 It does use a City
with a GeneratedValue
, but the end goal does not really seem to be testing sequences.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently, we're not testing sequences anything on Oracle
FTFY 😛
423322f
to
e774c0d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My attempt at running the tests on Oracle: #8958
It will require more work, in the meantime I think we can merge this.
Yet another method that has been removed in DBAL 3.