Tests - BaseTestCase - rename method getFilePathToTests() -> getFilePathForTesting()

This commit is contained in:
Meritoo
2017-10-31 21:26:39 +01:00
parent 325fe6b141
commit 452a4ec458
3 changed files with 6 additions and 6 deletions

View File

@@ -88,6 +88,6 @@ class ComposerTest extends BaseTestCase
{
parent::setUp();
$this->composerJsonPath = $this->getFilePathToTests(Composer::FILE_NAME_MAIN);
$this->composerJsonPath = $this->getFilePathForTesting(Composer::FILE_NAME_MAIN);
}
}

View File

@@ -447,12 +447,12 @@ class MimeTypesTest extends BaseTestCase
public function provideFilePathToGetMimeTypeOfRealFile()
{
yield[
$this->getFilePathToTests('minion.jpg'),
$this->getFilePathForTesting('minion.jpg'),
'image/jpeg',
];
yield[
$this->getFilePathToTests('lorem-ipsum.txt'),
$this->getFilePathForTesting('lorem-ipsum.txt'),
'text/plain',
];
}
@@ -465,12 +465,12 @@ class MimeTypesTest extends BaseTestCase
public function provideExistingFilePathToCheckIsImagePath()
{
yield[
$this->getFilePathToTests('minion.jpg'),
$this->getFilePathForTesting('minion.jpg'),
true,
];
yield[
$this->getFilePathToTests('lorem-ipsum.txt'),
$this->getFilePathForTesting('lorem-ipsum.txt'),
false,
];
}