mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-11 06:28:40 +00:00
Merge branch 'develop' of https://github.com/Orange-Management/phpOMS into develop
This commit is contained in:
commit
f467b598a3
|
|
@ -37,7 +37,7 @@ class ModuleManagerTest extends \PHPUnit\Framework\TestCase
|
||||||
|
|
||||||
protected function setUp() : void
|
protected function setUp() : void
|
||||||
{
|
{
|
||||||
$this->app = new class() extends ApplicationAbstract {
|
$this->app = new class() extends ApplicationAbstract {
|
||||||
protected string $appName = 'Api';
|
protected string $appName = 'Api';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -84,7 +84,7 @@ class ArrayUtilsTest extends \PHPUnit\Framework\TestCase
|
||||||
2 => '2a',
|
2 => '2a',
|
||||||
];
|
];
|
||||||
|
|
||||||
self::assertEquals(null, ArrayUtils::getArray('a/zzz/1', $expected));
|
self::assertNull(ArrayUtils::getArray('a/zzz/1', $expected));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -173,7 +173,7 @@ class StringUtilsTest extends \PHPUnit\Framework\TestCase
|
||||||
*/
|
*/
|
||||||
public function testInvalidStringify() : void
|
public function testInvalidStringify() : void
|
||||||
{
|
{
|
||||||
self::assertEquals(null, StringUtils::stringify(new class() {}));
|
self::assertNull(StringUtils::stringify(new class() {}));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user