HOR-3274
Fix wrong phpunit merge Fix System to PmSystem
This commit is contained in:
18
phpunit.xml
18
phpunit.xml
@@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit backupGlobals="false"
|
||||
backupStaticAttributes="false"
|
||||
bootstrap="vendor/autoload.php"
|
||||
colors="true"
|
||||
convertErrorsToExceptions="true"
|
||||
convertNoticesToExceptions="false"
|
||||
@@ -15,6 +14,9 @@
|
||||
<testsuite name="workflow">
|
||||
<directory>./tests/workflow/engine/src/</directory>
|
||||
</testsuite>
|
||||
<testsuite name="Unit">
|
||||
<directory suffix="Test.php">./tests/Unit</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
|
||||
<filter>
|
||||
@@ -45,18 +47,4 @@
|
||||
<var name="HTTPS" value="off" />
|
||||
<var name="SERVER_PORT" value="8080" />
|
||||
</php>
|
||||
|
||||
<testsuite name="Unit">
|
||||
<directory suffix="Test.php">./tests/Unit</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<filter>
|
||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||
<directory suffix=".php">./app</directory>
|
||||
</whitelist>
|
||||
</filter>
|
||||
<php>
|
||||
<env name="APP_ENV" value="testing"/>
|
||||
<env name="CACHE_DRIVER" value="array"/>
|
||||
</php>
|
||||
</phpunit>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace ProcessMaker\BusinessModel;
|
||||
|
||||
use System;
|
||||
use PmSystem;
|
||||
use Exception;
|
||||
use G;
|
||||
|
||||
@@ -18,7 +18,7 @@ class Skins
|
||||
*/
|
||||
public function getSkins()
|
||||
{
|
||||
$list = System::getSkingList();
|
||||
$list = PmSystem::getSkingList();
|
||||
return $list['skins'];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user