mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-11-21 15:10:25 +00:00
update
This commit is contained in:
parent
91cebadad1
commit
68986ed943
3 changed files with 3 additions and 5 deletions
1
.github/workflows/app-code-coverage.yml
vendored
1
.github/workflows/app-code-coverage.yml
vendored
|
@ -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
|
||||
|
||||
|
|
1
.github/workflows/app-unit-test.yml
vendored
1
.github/workflows/app-unit-test.yml
vendored
|
@ -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:
|
||||
|
|
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in a new issue