Skip to content

Commit

Permalink
Fix test files namespace
Browse files Browse the repository at this point in the history
Signed-off-by: Maurício Meneghini Fauth <[email protected]>
  • Loading branch information
MauricioFauth committed Sep 11, 2023
1 parent 22923d6 commit e0306ae
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
test-php:
name: Test on PHP ${{ matrix.php-version }} (${{ matrix.extensions }})
name: Test on PHP ${{ matrix.php-version }} (${{ matrix.php-extensions }})
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
Expand Down
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
"PhpMyAdmin\\ShapeFile\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"PhpMyAdminTest\\ShapeFile\\": "tests"
}
},
"config":{
"sort-packages": true,
"allow-plugins": {
Expand Down
2 changes: 1 addition & 1 deletion tests/ShapeFileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* https://www.gnu.org/copyleft/gpl.html.
*/

namespace ShapeFileTest;
namespace PhpMyAdminTest\ShapeFile;

use PhpMyAdmin\ShapeFile\ShapeFile;
use PhpMyAdmin\ShapeFile\ShapeRecord;
Expand Down
2 changes: 1 addition & 1 deletion tests/UtilTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* https://www.gnu.org/copyleft/gpl.html.
*/

namespace UtilTest;
namespace PhpMyAdminTest\ShapeFile;

use PhpMyAdmin\ShapeFile\Util;
use PHPUnit\Framework\TestCase;
Expand Down

0 comments on commit e0306ae

Please sign in to comment.