Skip to content

CS/QA: fix use of duplicate array keys#20967

Merged
jrfnl merged 2 commits intotrunkfrom
JRF/QA/fix-duplicate-array-keys
Dec 18, 2023
Merged

CS/QA: fix use of duplicate array keys#20967
jrfnl merged 2 commits intotrunkfrom
JRF/QA/fix-duplicate-array-keys

Conversation

@jrfnl
Copy link
Copy Markdown
Contributor

@jrfnl jrfnl commented Dec 18, 2023

Context

  • Code QA/consistency

Summary

This PR can be summarized in the following changelog entry:

  • Code QA/consistency

Relevant technical choices:

CS/QA | Content_Type_Visibility_Watcher_Actions_Test: rename duplicate array key in data provider

... which essentially meant that the first data sets using that name were not being run in the tests.

CS/QA | Admin_Columns_Cache_Integration_Test: fix test expectation

The second instance of the array key encountered would overwrite the value of the first, so removing the first of the two array keys will maintain the existing behaviour.

Test instructions

Test instructions for the acceptance test before the PR gets merged

This PR can be acceptance tested by following these steps:

  • N/A No functional changes.

…e array key in data provider

... which essentially meant that the first data set using that name was not being run in the tests.
The second instance of the array key encountered would overwrite the value of the first, so removing the first of the two array keys will maintain the existing behaviour.
@jrfnl jrfnl added yoast cs/qa changelog: non-user-facing Needs to be included in the 'Non-userfacing' category in the changelog labels Dec 18, 2023
@jrfnl jrfnl added this to the 21.9 milestone Dec 18, 2023
@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 7254294283

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 49.372%

Totals Coverage Status
Change from base Build 7254177976: 0.0%
Covered Lines: 15415
Relevant Lines: 31222

💛 - Coveralls

@jrfnl jrfnl merged commit a80ec69 into trunk Dec 18, 2023
@jrfnl jrfnl deleted the JRF/QA/fix-duplicate-array-keys branch December 18, 2023 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: non-user-facing Needs to be included in the 'Non-userfacing' category in the changelog yoast cs/qa

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants