update
This commit is contained in:
parent
166582490f
commit
d5a82c528a
4 changed files with 4 additions and 22 deletions
|
@ -145,7 +145,7 @@ $PHYRE_PHP -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
||||||
$PHYRE_PHP ./composer-setup.php
|
$PHYRE_PHP ./composer-setup.php
|
||||||
$PHYRE_PHP -r "unlink('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
|
# Create database
|
||||||
PANEL_DB_NAME="phyredb"
|
PANEL_DB_NAME="phyredb"
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
3
web/run-tests.sh
Normal file
3
web/run-tests.sh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
PHYRE_PHP=/usr/local/phyre/php/bin/php
|
||||||
|
|
||||||
|
$PHYRE_PHP artisan test
|
|
@ -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);
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue