Skip to content

Commit e0306ae

Browse files
committed
Fix test files namespace
Signed-off-by: Maurício Meneghini Fauth <[email protected]>
1 parent 22923d6 commit e0306ae

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
test-php:
9-
name: Test on PHP ${{ matrix.php-version }} (${{ matrix.extensions }})
9+
name: Test on PHP ${{ matrix.php-version }} (${{ matrix.php-extensions }})
1010
runs-on: ${{ matrix.os }}
1111
continue-on-error: ${{ matrix.experimental }}
1212
strategy:

composer.json

+5
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@
4646
"PhpMyAdmin\\ShapeFile\\": "src"
4747
}
4848
},
49+
"autoload-dev": {
50+
"psr-4": {
51+
"PhpMyAdminTest\\ShapeFile\\": "tests"
52+
}
53+
},
4954
"config":{
5055
"sort-packages": true,
5156
"allow-plugins": {

tests/ShapeFileTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* https://www.gnu.org/copyleft/gpl.html.
2424
*/
2525

26-
namespace ShapeFileTest;
26+
namespace PhpMyAdminTest\ShapeFile;
2727

2828
use PhpMyAdmin\ShapeFile\ShapeFile;
2929
use PhpMyAdmin\ShapeFile\ShapeRecord;

tests/UtilTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* https://www.gnu.org/copyleft/gpl.html.
2323
*/
2424

25-
namespace UtilTest;
25+
namespace PhpMyAdminTest\ShapeFile;
2626

2727
use PhpMyAdmin\ShapeFile\Util;
2828
use PHPUnit\Framework\TestCase;

0 commit comments

Comments
 (0)