8000 Remove duplicate schema manager tests by morozov · Pull Request #6850 · doctrine/dbal · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Remove duplicate schema manager tests #6850

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

Merged
merged 1 commit into from
Mar 16, 2025

Conversation

morozov
Copy link
Member
@morozov morozov commented Mar 16, 2025

Removed tests:

  1. testSwitchPrimaryKeyColumns() duplicates SchemaManagerFunctionalTestCase#testSwitchPrimaryKeyOrder()
  2. testAlterTableAddPrimaryKey() duplicates AlterTableTest#testAddPrimaryKeyOnExistingColumn()

Not removed tests:

  1. MySQLSchemaManagerTest#testDropPrimaryKeyWithAutoincrementColumn() duplicates AlterTableTest#testDropPrimaryKeyWithAutoincrementColumn(), but the latter is skipped on MySQL because its assertion would fail due to DBAL silently drops auto-increment from a primary key column #6840. This test is removed in Remove support for auto-dropping auto-increment with PK #6843.

testSwitchPrimaryKeyColumns() duplicates SchemaManagerFunctionalTestCase#testSwitchPrimaryKeyOrder()
testAlterTableAddPrimaryKey() duplicates AlterTableTest#testAddPrimaryKeyOnExistingColumn()
@morozov morozov added this to the 4.2.4 milestone Mar 16, 2025
@morozov morozov marked this pull request as ready for review March 16, 2025 02:05
@morozov morozov requested a review from greg0ire March 16, 2025 02:05
@morozov morozov merged commit d6bcc1b into doctrine:4.2.x Mar 16, 2025
66 checks passed
@morozov morozov deleted the remove-duplicate-tests branch March 16, 2025 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0