Problem/Motivation
Recently, tests were rearranged in media_entity for #2796901: Convert all web tests to BTB where possible, increase test coverage and split existing tests into more granular classes.. This breaks this module's TweetEmbedFormatterTest.
Proposed resolution
Convert this test case to BTB as well.
Remaining tasks
- Further fix test
- Review
User interface changes
None.
API changes
None.
Data model changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | media_entity_twitter-convert-btb-2832409-2-d8.patch | 1.31 KB | eelkeblok |
Comments
Comment #2
eelkeblokFound this while working on #2625854: Provide default source_field when creating new media entity bundles. This moves the test case below tests and extends the MediaEntityFunctionalTestBase instead of WebTestBase. It still throws a notice, though, but wanted to get this out, since others might run into this and #2625854: Provide default source_field when creating new media entity bundles might take some more time to land completely.
Comment #3
slashrsm commentedComment #5
eelkeblokOK, testbot seems to use an older version of media_entity that does not contain the change yet.
Comment #6
slashrsm commentedYes. Drupal CI is using tagged releases. It would make sense to prepare similar patches in other ME module otherwise we'll break tests in them when we tag new release of main module.
Comment #7
liam morlandThis has already been done in #2869157: Twitter Port to the proposed Media core module API ; commit cbabe5f.