Skip to content
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

Convert remaining DatasetTest method to BTB #4014

Merged
merged 4 commits into from
Sep 11, 2023
Merged

Conversation

paul-m
Copy link
Contributor

@paul-m paul-m commented Sep 11, 2023

Following through on this todo in Drupal\Tests\dkan\Functional\DatasetTest::testResourcePurgeDraft:

@todo Move this test to \Drupal\Tests\dkan\Functional\DatasetBTBTest.

@paul-m paul-m requested a review from jastraat September 11, 2023 19:24
Copy link
Contributor

@jastraat jastraat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes look great! Thank you for correcting that assertFalse message :)

/**
* {@inheritdoc}
*/
protected $strictConfigSchema = FALSE;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@paul-m and I discussed this. This setting is related to change record https://www.drupal.org/node/3362879 and if it is left true, the test will fail due to poorly defined config schema in contrib modules as well. Suggest adding a comment referencing this!

@jastraat jastraat merged commit 36629b9 into 2.x Sep 11, 2023
@jastraat jastraat deleted the convert-datasettest-btb branch September 11, 2023 20:24
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