mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 19:51:59 +01:00
Fixed bitbucket pipeline
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
683327c8bb
commit
b6f8834fe8
@ -18,5 +18,5 @@ pipelines:
|
||||
- mysql -u piler -ppiler123 piler1 < /usr/share/piler/db-mysql.sql
|
||||
- cd unit_tests
|
||||
- ./run.sh
|
||||
- cd ..
|
||||
- cd ../webui
|
||||
- phpunit
|
||||
|
@ -2,11 +2,11 @@
|
||||
<phpunit colors="true">
|
||||
<testsuites>
|
||||
<testsuite name="Application Test Suite">
|
||||
<directory>./unit_tests/php</directory>
|
||||
<directory>./tests</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<php>
|
||||
<env name="DIR_BASE" value="webui/" />
|
||||
<env name="TEST_FILES_DIR" value="test_files/" />
|
||||
<env name="DIR_BASE" value="./" />
|
||||
<env name="TEST_FILES_DIR" value="../test_files/" />
|
||||
</php>
|
||||
</phpunit>
|
@ -2,9 +2,9 @@
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
include_once("webui/system/model.php");
|
||||
include_once("webui/system/misc.php");
|
||||
include_once("webui/model/health/health.php");
|
||||
include_once("system/model.php");
|
||||
include_once("system/misc.php");
|
||||
include_once("model/health/health.php");
|
||||
|
||||
final class FormatTest extends TestCase
|
||||
{
|
Loading…
Reference in New Issue
Block a user