Skip to content

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
@aidanharan aidanharan force-pushed the fix-rails6.1.4-tests branch from 6d6e7cb to a864604 Compare July 15, 2021 09:36
@aidanharan aidanharan marked this pull request as ready for review July 15, 2021 09:59
@wpolicarpo wpolicarpo 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 <aharan@fusioneer.com>
Sign up for free to join this conversation on GitHub. 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