Bozhidar Slaveykov 1 年之前
父节点
当前提交
d5a82c528a
共有 4 个文件被更改,包括 4 次插入22 次删除
  1. 1 1
      installers/Ubuntu/22.04/install.sh
  2. 0 2
      tests/github-test.php
  3. 3 0
      web/run-tests.sh
  4. 0 19
      web/tests/Feature/ExampleTest.php

+ 1 - 1
installers/Ubuntu/22.04/install.sh

@@ -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"

+ 0 - 2
tests/github-test.php

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

+ 3 - 0
web/run-tests.sh

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

+ 0 - 19
web/tests/Feature/ExampleTest.php

@@ -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);
-    }
-}