Skip to content

Commit 9f3b727

Browse files
Autoload for development & fix namespace
1 parent f739317 commit 9f3b727

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
3232
"slim/psr7": "^1.5",
3333
"squizlabs/php_codesniffer": "^3.6"
3434
},
35+
"autoload-dev": {
36+
"psr-4": {
37+
"Slim\\Tests\\": "tests"
38+
}
39+
},
3540
"scripts": {
3641
"test": "phpunit --configuration phpunit.xml.dist",
3742
"test:coverage": "phpunit --configuration phpunit.xml.dist --coverage-clover build/logs/clover.xml --coverage-html build/coverage"

tests/PhpRendererTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
declare(strict_types=1);
99

10-
namespace Slim\ViewsTest;
10+
namespace Slim\Tests;
1111

1212
use InvalidArgumentException;
1313
use PHPUnit\Framework\TestCase;

0 commit comments

Comments
 (0)