Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Lately I was able to fix a few issues with the simpletests, however there's one test that is failing and it needs some attention. I'm not entirely sure why the test is failing.
see test here:
https://dispatcher.drupalci.org/job/drupal_d7/21566/
Comment | File | Size | Author |
---|---|---|---|
#14 | media_youtube-2883644-failing-tests.patch | 481 bytes | steinmb |
|
Comments
Comment #2
joseph.olstadFunny, in my local environment, I get a lot of passed tests, however on the testbot, I see no passes, just one fail.
Although, it is the exact same failure as in my local test environment.
https://dispatcher.drupalci.org/job/drupal_d7/21566/testReport/Media%20Y...
Comment #3
joseph.olstadComment #4
joseph.olstadWould be nice to fix this soon.
Comment #5
joseph.olstadanyone want to take this on? I am having a bit of an issue debugging this.
Comment #6
joseph.olstadThis is highest priority right now.
Comment #7
steinmb CreditAttribution: steinmb as a volunteer commentedComment #8
joseph.olstadhighest priority item
Comment #9
joseph.olstad@steinmb
can you please try this again:
php ../../../../scripts/run-tests.sh --class MediaInternetYouTubeTestCase
post the test results here, go from there.
Comment #10
steinmb CreditAttribution: steinmb as a volunteer commentedHi Josepth.
Back today after taking a little more then a month off (rebooting). Though I'll need a couple of days to get inbox zero and up to speed :)
Comment #11
joseph.olstad@steinmb, just to let you know, I've created an updated distribution release of media_dev , this includes media_youtube , you can download it on there and run simpletests with that, this should help us with debugging. I'll probably put out a new media_dev release soon with the latest releases (many contrib updates lately) .
Here's the media_dev project
try it out on simplytest.me
Comment #12
joseph.olstadSteinmb , any luck with this?
Comment #13
joseph.olstadstill is an issue. I'm very busy these days but I will review any patch for this.
Comment #14
steinmb CreditAttribution: steinmb as a volunteer commentedThank you for the reminder. Competently forgot about this. Sorry.
It fails on two of the parameters. Not sure if the default parameter that get rendered have changed. The test is looking for
"https://www.youtube.com/embed/9g2U12SsRns?wmode=opaque&controls=1
but the test submission returnhttps://www.youtube.com/embed/9g2U12SsRns?wmode=opaque&controls=&rel=0
This patch tries to address this in the test.
Comment #15
steinmb CreditAttribution: steinmb as a volunteer commentedComment #16
joseph.olstadComment #18
joseph.olstadComment #19
joseph.olstadGreat detective work @steinmb! thanks!