Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crear grupo de tests lentos #1676

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Test/Core/Data/AccountImportTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
use FacturaScripts\Test\Traits\RandomDataTrait;
use PHPUnit\Framework\TestCase;

/**
* @group lentos
*/
final class AccountImportTest extends TestCase
{
use LogErrorsTrait;
Expand Down
3 changes: 3 additions & 0 deletions Test/Core/Lib/AccountingCreationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ public static function setUpBeforeClass(): void
self::installAccountingPlan();
}

/**
* @group lentos
*/
public function testCreateCustomer()
{
// creamos un cliente
Expand Down
3 changes: 3 additions & 0 deletions Test/Core/Lib/ViesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
use FacturaScripts\Core\Lib\Vies;
use PHPUnit\Framework\TestCase;

/**
* @group lentos
*/
final class ViesTest extends TestCase
{
public function testCheck(): void
Expand Down
3 changes: 3 additions & 0 deletions Test/Core/Model/AgenteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ public function testEmailField(): void
$this->assertTrue($agent->delete(), 'agent-cant-delete-3');
}

/**
* @group lentos
*/
public function testVies(): void
{
// creamos un agente sin cifnif
Expand Down
3 changes: 3 additions & 0 deletions Test/Core/Model/ClienteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ public function testPaymentDays(): void
$this->assertEquals([1, 5], $cliente->getPaymentDays(), 'cliente-has-payment-days');
}

/**
* @group lentos
*/
public function testVies(): void
{
// creamos un cliente sin cifnif
Expand Down
3 changes: 3 additions & 0 deletions Test/Core/Model/ContactoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ public function testNotNullFields(): void
$this->assertTrue($contact->delete(), 'contact-cant-delete');
}

/**
* @group lentos
*/
public function testVies(): void
{
// creamos un contacto sin cif/nif
Expand Down
3 changes: 3 additions & 0 deletions Test/Core/Model/EjercicioCierreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ public static function setUpBeforeClass(): void
self::removeTaxRegularization();
}

/**
* @group lentos
*/
public function testCloseExercise()
{
// creamos una nueva empresa
Expand Down
3 changes: 3 additions & 0 deletions Test/Core/Model/FacturaClienteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -800,6 +800,9 @@ public function testIntraCommunity(): void
$this->assertTrue($customer->delete());
}

/**
* @group lentos
*/
public function testSetIntraCommunity(): void
{
// comprobamos primero si el VIES funciona
Expand Down
3 changes: 3 additions & 0 deletions Test/Core/Model/FacturaProveedorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,9 @@ public function testIntraCommunity(): void
$this->assertTrue($supplier->delete());
}

/**
* @group lentos
*/
public function testSetIntraCommunity(): void
{
// comprobamos si el VIES funciona
Expand Down
3 changes: 3 additions & 0 deletions Test/Core/Model/ProveedorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ public function testGoodWeb(): void
$this->assertTrue($proveedor->delete(), 'proveedor-cant-delete');
}

/**
* @group lentos
*/
public function testVies(): void
{
// creamos un proveedor sin cif/nif
Expand Down
3 changes: 3 additions & 0 deletions Test/Core/PluginsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
use FacturaScripts\Test\Traits\LogErrorsTrait;
use PHPUnit\Framework\TestCase;

/**
* @group lentos
*/
final class PluginsTest extends TestCase
{
use LogErrorsTrait;
Expand Down