add: ignora kind debug, test per nuova feature rm: test vuoti su funzionalità basate su api terze

This commit is contained in:
Michael 2024-09-05 17:09:42 +02:00
parent 024c3de06d
commit 39de7f47ca
9 changed files with 21 additions and 135 deletions

View file

@ -1,15 +0,0 @@
<?php
namespace Tests\Http\Controllers\GiteaApiController;
use App\Http\Controllers\GiteaApiController\GiteaApiController;
use Tests\TestCase;
class GiteaApiControllerTest extends TestCase
{
public function testExport_closed_issues()
{
}
}

View file

@ -1,15 +0,0 @@
<?php
namespace Tests\Http\Controllers\GiteaApiController;
use App\Http\Controllers\GiteaApiController\GiteaExport;
use Tests\TestCase;
class GiteaExportTest extends TestCase
{
public function testExport_issues()
{
}
}

View file

@ -1,30 +0,0 @@
<?php
namespace Tests\Http\Controllers\GiteaApiController;
use App\Http\Controllers\GiteaApiController\GiteaFetch;
use Tests\TestCase;
class GiteaFetchTest extends TestCase
{
public function testGet_issue_time()
{
}
public function testGet_issues()
{
}
public function testGet_repositories()
{
}
public function testGet_company_agents()
{
}
}

View file

@ -88,19 +88,26 @@ protected function setUp(): void
public function testLabelExists()
{
$labels = [['name' => 'RequestBy: User1'], ['name' => 'Bug']];
$this->assertTrue($this->issue_validation_controller->search_requested_by($labels));
$labels = [['name' => 'RequestBy: User1'], ['name' => 'Piru']];
$this->assertTrue($this->issue_validation_controller->search_requested_by_and_kind_bug($labels));
}
public function testLabelDoesNotExist()
{
$labels = [['name' => 'Bug'], ['name' => 'Feature']];
$this->assertFalse($this->issue_validation_controller->search_requested_by($labels));
$this->assertFalse($this->issue_validation_controller->search_requested_by_and_kind_bug($labels));
}
public function testEmptyLabels()
{
$labels = [];
$this->assertFalse($this->issue_validation_controller->search_requested_by($labels));
$this->assertFalse($this->issue_validation_controller->search_requested_by_and_kind_bug($labels));
}
public function testKindBugExists()
{
$labels = [['name' => 'RequestBy: User1'], ['name' => 'Bug']];
$this->assertFalse($this->issue_validation_controller->search_requested_by_and_kind_bug($labels));
}
}

View file

@ -1,15 +0,0 @@
<?php
namespace Tests\Http\Controllers\ThirdPartyServices;
use App\Http\Controllers\ThirdPartyServices\EmailService;
use Tests\TestCase;
class EmailServiceTest extends TestCase
{
public function testSend_export_via_email()
{
}
}

View file

@ -1,15 +0,0 @@
<?php
namespace Tests\Http\Controllers\ThirdPartyServices;
use App\Http\Controllers\ThirdPartyServices\NextcloudService;
use Tests\TestCase;
class NextcloudServiceTest extends TestCase
{
public function testNextcloud_upload_csv()
{
}
}

View file

@ -1,20 +0,0 @@
<?php
namespace Tests\Http\Controllers\ThirdPartyServices;
use App\Http\Controllers\ThirdPartyServices\OpenProjectService;
use Tests\TestCase;
class OpenProjectServiceTest extends TestCase
{
public function testOpen_project_create_tasks()
{
}
public function testOpen_project_add_task_to_agent()
{
}
}

View file

@ -1,15 +0,0 @@
<?php
namespace Tests\Http\Controllers\ThirdPartyServices;
use App\Http\Controllers\ThirdPartyServices\ThirdPartyServices;
use Tests\TestCase;
class ThirdPartyServicesTest extends TestCase
{
public function testHandle_third_party_services()
{
}
}