Skip to content

Fix tests for Rails 6.1.4 #931

New issue

Have a question about this project? Sign up for a free account to open an issue and contact its maintainers and the community.

By clicking “Sign up for ”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on ? Sign in to your account

Merged
merged 1 commit into from
Jul 25, 2021

Conversation

aidanharan
Copy link
Contributor

@aidanharan aidanharan commented Jul 14, 2021

Coerce and re-implement the Rails 6.1.4 LogSubscriberTest#test_where_in_binds_logging_include_attribute_names test so that the adapter now passes for Rails 6.1.4.

Also, some CI tests started failing because records created during the test prevented the index from being added back. This issue does not happen locally. To fix the issue I delete the records created during the original test before adding the index back. This change does not affect the purpose of the test.

Delete records that were created as part of test before adding index back

Fix test
@aidanharanaidanharan force-pushed the fix-rails6.1.4-tests branch from 6d6e7cb to a864604 Compare July 15, 2021 09:36
@aidanharanaidanharan marked this pull request as ready for review July 15, 2021 09:59
@wpolicarpowpolicarpo merged commit 524b2c0 into rails-sqlserver:main Jul 25, 2021
lavika pushed a commit to lavika/activerecord-sqlserver-adapter that referenced this pull request Sep 26, 2023
Delete records that were created as part of test before adding index back

Fix test

Co-authored-by: Aidan Haran <[email protected]>
Sign up for free to join this conversation on . Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants