mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-07 21:31:58 +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
|
- mysql -u piler -ppiler123 piler1 < /usr/share/piler/db-mysql.sql
|
||||||
- cd unit_tests
|
- cd unit_tests
|
||||||
- ./run.sh
|
- ./run.sh
|
||||||
- cd ..
|
- cd ../webui
|
||||||
- phpunit
|
- phpunit
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
<phpunit colors="true">
|
<phpunit colors="true">
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Application Test Suite">
|
<testsuite name="Application Test Suite">
|
||||||
<directory>./unit_tests/php</directory>
|
<directory>./tests</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
<php>
|
<php>
|
||||||
<env name="DIR_BASE" value="webui/" />
|
<env name="DIR_BASE" value="./" />
|
||||||
<env name="TEST_FILES_DIR" value="test_files/" />
|
<env name="TEST_FILES_DIR" value="../test_files/" />
|
||||||
</php>
|
</php>
|
||||||
</phpunit>
|
</phpunit>
|
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
|
|
||||||
include_once("webui/system/model.php");
|
include_once("system/model.php");
|
||||||
include_once("webui/system/misc.php");
|
include_once("system/misc.php");
|
||||||
include_once("webui/model/health/health.php");
|
include_once("model/health/health.php");
|
||||||
|
|
||||||
final class FormatTest extends TestCase
|
final class FormatTest extends TestCase
|
||||||
{
|
{
|
Loading…
Reference in New Issue
Block a user