Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshyPHP committed Aug 26, 2020
1 parent 5a6c80e commit 64f665d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions tests/Plugins/MediaEmbed/ParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,10 @@ function ($configurator)
[],
function ($configurator)
{
if (isset($_SERVER['TRAVIS']))
{
$this->markTestSkipped();
}
$configurator->registeredVars['cacheDir'] = __DIR__ . '/../../.cache';
$configurator->MediaEmbed->add('getty');
},
Expand All @@ -647,6 +651,10 @@ function ($configurator)
[],
function ($configurator)
{
if (isset($_SERVER['TRAVIS']))
{
$this->markTestSkipped();
}
$configurator->registeredVars['cacheDir'] = __DIR__ . '/../../.cache';
$configurator->MediaEmbed->add('getty');
},
Expand All @@ -659,6 +667,10 @@ function ($configurator)
[],
function ($configurator)
{
if (isset($_SERVER['TRAVIS']))
{
$this->markTestSkipped();
}
$configurator->registeredVars['cacheDir'] = __DIR__ . '/../../.cache';
$configurator->MediaEmbed->add('getty');
},
Expand All @@ -671,6 +683,10 @@ function ($configurator)
[],
function ($configurator)
{
if (isset($_SERVER['TRAVIS']))
{
$this->markTestSkipped();
}
$configurator->registeredVars['cacheDir'] = __DIR__ . '/../../.cache';
$configurator->MediaEmbed->add('getty');
},
Expand All @@ -683,6 +699,10 @@ function ($configurator)
[],
function ($configurator)
{
if (isset($_SERVER['TRAVIS']))
{
$this->markTestSkipped();
}
$configurator->registeredVars['cacheDir'] = __DIR__ . '/../../.cache';
$configurator->MediaEmbed->add('getty');
},
Expand All @@ -695,6 +715,10 @@ function ($configurator)
[],
function ($configurator)
{
if (isset($_SERVER['TRAVIS']))
{
$this->markTestSkipped();
}
$configurator->registeredVars['cacheDir'] = __DIR__ . '/../../.cache';
$configurator->MediaEmbed->add('getty');
},
Expand Down Expand Up @@ -1438,6 +1462,10 @@ public function getScrapingRenderingTests()
[],
function ($configurator)
{
if (isset($_SERVER['TRAVIS']))
{
$this->markTestSkipped();
}
$configurator->registeredVars['cacheDir'] = __DIR__ . '/../../.cache';
$configurator->MediaEmbed->add('getty');
},
Expand Down

0 comments on commit 64f665d

Please sign in to comment.