summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'MLEB/LocalisationUpdate/tests/phpunit/reader/ReaderFactoryTest.php')
-rw-r--r--MLEB/LocalisationUpdate/tests/phpunit/reader/ReaderFactoryTest.php17
1 files changed, 7 insertions, 10 deletions
diff --git a/MLEB/LocalisationUpdate/tests/phpunit/reader/ReaderFactoryTest.php b/MLEB/LocalisationUpdate/tests/phpunit/reader/ReaderFactoryTest.php
index 86776395..00f3ac38 100644
--- a/MLEB/LocalisationUpdate/tests/phpunit/reader/ReaderFactoryTest.php
+++ b/MLEB/LocalisationUpdate/tests/phpunit/reader/ReaderFactoryTest.php
@@ -7,8 +7,10 @@
namespace LocalisationUpdate;
+use LocalisationUpdate\Reader\ReaderFactory;
+
/**
- * @covers \LocalisationUpdate\ReaderFactory
+ * @covers \LocalisationUpdate\Reader\ReaderFactory
*/
class ReaderFactoryTest extends \PHPUnit\Framework\TestCase {
/**
@@ -24,18 +26,13 @@ class ReaderFactoryTest extends \PHPUnit\Framework\TestCase {
public function getReaderProvider() {
return [
[
- 'languages/messages/MessagesFi.php',
- 'LocalisationUpdate\PHPReader',
- 'core php file',
- ],
- [
- 'extensions/Translate/Translate.i18n.php',
- 'LocalisationUpdate\PHPReader',
- 'extension php file',
+ 'languages/i18n/fi.json',
+ 'LocalisationUpdate\Reader\JSONReader',
+ 'core json file',
],
[
'extension/Translate/i18n/core/de.json',
- 'LocalisationUpdate\JSONReader',
+ 'LocalisationUpdate\Reader\JSONReader',
'extension json file',
],
];