Mark some tests as skipped when running on gh actions
This commit is contained in:
parent
a63516f926
commit
0d1ef15b7a
|
|
@ -30,7 +30,7 @@ class ClientModelTest extends TestCase
|
||||||
$this->makeTestData();
|
$this->makeTestData();
|
||||||
|
|
||||||
if (config('ninja.testvars.travis') !== false) {
|
if (config('ninja.testvars.travis') !== false) {
|
||||||
$this->markTestSkipped('Skip test for Travis');
|
$this->markTestSkipped('Skip test for GH Actions');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! config('ninja.testvars.stripe')) {
|
if (! config('ninja.testvars.stripe')) {
|
||||||
|
|
|
||||||
|
|
@ -49,6 +49,10 @@ class PeppolTest extends TestCase
|
||||||
{
|
{
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
|
if (config('ninja.testvars.travis') !== false) {
|
||||||
|
$this->markTestSkipped('Skip test for GH Actions');
|
||||||
|
}
|
||||||
|
|
||||||
$this->makeTestData();
|
$this->makeTestData();
|
||||||
|
|
||||||
$this->withoutMiddleware(
|
$this->withoutMiddleware(
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ class InventoryManagementTest extends TestCase
|
||||||
);
|
);
|
||||||
|
|
||||||
if (config('ninja.testvars.travis') !== false) {
|
if (config('ninja.testvars.travis') !== false) {
|
||||||
$this->markTestSkipped('Skip test for Travis');
|
$this->markTestSkipped('Skip test for GH Actions');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,7 @@ class LiveDesignTest extends TestCase
|
||||||
);
|
);
|
||||||
|
|
||||||
if (config('ninja.testvars.travis') !== false) {
|
if (config('ninja.testvars.travis') !== false) {
|
||||||
$this->markTestSkipped('Skip test for Travis');
|
$this->markTestSkipped('Skip test for GH Actions');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ class PreviewTest extends TestCase
|
||||||
);
|
);
|
||||||
|
|
||||||
if (config('ninja.testvars.travis') !== false) {
|
if (config('ninja.testvars.travis') !== false) {
|
||||||
$this->markTestSkipped('Skip test for Travis');
|
$this->markTestSkipped('Skip test for GH Actions');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ class DownloadHistoricalInvoiceTest extends TestCase
|
||||||
$this->makeTestData();
|
$this->makeTestData();
|
||||||
|
|
||||||
if (config('ninja.testvars.travis') !== false) {
|
if (config('ninja.testvars.travis') !== false) {
|
||||||
$this->markTestSkipped('Skip test for Travis');
|
$this->markTestSkipped('Skip test for GH Actions');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ class PdfGenerationTest extends TestCase
|
||||||
parent::setUp();
|
parent::setUp();
|
||||||
|
|
||||||
if (config('ninja.testvars.travis') !== false) {
|
if (config('ninja.testvars.travis') !== false) {
|
||||||
$this->markTestSkipped('Skip test for Travis');
|
$this->markTestSkipped('Skip test for GH Actions');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue