mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-20 15:15:35 +08:00
Update the test instance
This commit is contained in:
@@ -59,10 +59,9 @@ class DataProviderTest extends TestCase
|
||||
|
||||
public function testIsRelativePath(): void
|
||||
{
|
||||
$this->assertTrue(true);
|
||||
// $this->assertTrue(DataProvider::isRelativePath('./'));
|
||||
// $this->assertTrue(DataProvider::isRelativePath('../'));
|
||||
// $this->assertFalse(DataProvider::isRelativePath('/'));
|
||||
// $this->assertFalse(DataProvider::isRelativePath('test.php'));
|
||||
$this->assertTrue(DataProvider::isRelativePath('./'));
|
||||
$this->assertTrue(DataProvider::isRelativePath('../'));
|
||||
$this->assertFalse(DataProvider::isRelativePath('/'));
|
||||
$this->assertTrue(DataProvider::isRelativePath('test.php'));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user