This commit is contained in:
Bozhidar Slaveykov 2024-04-02 18:40:33 +03:00
parent 166582490f
commit d5a82c528a
4 changed files with 4 additions and 22 deletions

View file

@ -145,7 +145,7 @@ $PHYRE_PHP -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
$PHYRE_PHP ./composer-setup.php
$PHYRE_PHP -r "unlink('composer-setup.php');"
COMPOSER_ALLOW_SUPERUSER=1 $PHYRE_PHP ./composer.phar install --no-dev --optimize-autoloader --no-interaction
COMPOSER_ALLOW_SUPERUSER=1 $PHYRE_PHP ./composer.phar install --no-interaction
# Create database
PANEL_DB_NAME="phyredb"

View file

@ -1,2 +0,0 @@
<?php

3
web/run-tests.sh Normal file
View file

@ -0,0 +1,3 @@
PHYRE_PHP=/usr/local/phyre/php/bin/php
$PHYRE_PHP artisan test

View file

@ -1,19 +0,0 @@
<?php
namespace Tests\Feature;
// use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class ExampleTest extends TestCase
{
/**
* A basic test example.
*/
public function test_the_application_returns_a_successful_response(): void
{
$response = $this->get('/');
$response->assertStatus(200);
}
}