Skip to content
Snippets Groups Projects
Commit 6476088f authored by Ghislain Loas's avatar Ghislain Loas
Browse files

hotline #74731 fix failures

parent 28a03d0c
Branches
Tags
4 merge requests!2660Master,!2642Master,!2641Hotline,!2639Hotline#74731 connecteur skilleos
Pipeline #4062 passed with stage
in 46 minutes and 13 seconds
......@@ -142,19 +142,19 @@ class StoryPlayRDashboardActivatedTest extends StoryPlayRActivatedTestCase {
/** @test */
public function testSsoValidateUrlShoudlBeDisplay() {
$this->assertXPathContentContains('//a', '/StoryPlayR_Plugin/auth/validate?sessionid=ST-');
$this->assertXPathContentContains('//pre', '/StoryPlayR_Plugin/auth/validate?sessionid=ST-');
}
/** @test */
public function harvestUrlShouldContainsOpdsCatalogUrlAndProviderAndMediathequeid() {
$this->assertXPath('//a[@href="https://preprod.storyplayr.com/api/opds-with-links?portalProvider=bokeh&mediathequeid=123456"]');
$this->assertXPathContentContains('//pre', 'https://preprod.storyplayr.com/api/opds-with-links?portalProvider=bokeh');
}
/** @test */
public function sourceImageShouldBeValid() {
$this->assertXPathContentContains('//a','Image source : https://preprod');
$this->assertXPathContentContains('//pre','Image source : https://preprod');
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment