This commit is contained in:
Bozhidar 2024-04-30 11:07:37 +03:00
parent 91cebadad1
commit 68986ed943
3 changed files with 3 additions and 5 deletions

View file

@ -63,7 +63,6 @@ jobs:
phyre-php -v
cd /usr/local/phyre/web/
sudo touch /usr/local/phyre/web/storage/installed
sudo chmod -R 777 vendor
composer test:coverage

View file

@ -43,7 +43,6 @@ jobs:
sudo COMPOSER_ALLOW_SUPERUSER=1 phyre-php composer.phar install
sudo /phyre-panel/install_web.sh
sudo touch /usr/local/phyre/web/storage/installed
sudo phyre-php artisan test
compile-phyre-web-panel:

View file

@ -22,6 +22,8 @@ class DockerTest extends TestCase
ini_set('memory_limit', '-1');
ini_set('max_execution_time', 0);
$this->actingAs(User::factory()->create());
$modulesTest = Livewire::test(Modules::class);
$modulesTest->call('openInstallModal', 'Docker');
@ -42,8 +44,6 @@ class DockerTest extends TestCase
$findModule = Module::where('name', 'Docker')->first();
$this->assertNotEmpty($findModule);
$this->actingAs(User::factory()->create());
$dockerImage = 'nginx';
$dockerCatalogTest = Livewire::test(DockerCatalog::class);
@ -73,7 +73,7 @@ class DockerTest extends TestCase
$this->assertNotEmpty($pullLog);
$this->assertStringContainsString('DONE!', $pullLog);
$createDockerContainerTest = Livewire::test(CreateDockerContainer::class);
$createDockerContainerTest->assertSee('Create Docker Container');