Lines Matching refs:site
8 * site configuration tests for the vshare plugin
22 foreach ($sites as $site => $data) {
23 yield [$site, $data];
29 * @param string $site
32 public function testPlaceholder($site, $data)
34 $this->assertArrayHasKey('url', $data, $site);
35 $this->assertStringContainsString('@VIDEO@', $data['url'], $site);
40 * @param string $site
43 public function testRegEx($site, $data)
46 $this->markTestSkipped("$site has no sample data configured");
49 $this->markTestSkipped("$site has no regular expression");
58 "$site regex did not match web/emb url"
60 $this->assertEquals($data['vid'], $match[1], "$site regex did not return vid");