Skip to content

Commit 9cdfd35

Browse files
author
Stephan Wentz
committed
add psr4-autoload for tests
1 parent a09155b commit 9cdfd35

7 files changed

Lines changed: 6 additions & 4 deletions

File tree

.travis.yml

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

88
before_script: composer install
99

10-
script: phpunit -c tests
10+
script: vendor/bin/phpunit -c tests

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,7 @@
3333
"autoload": {
3434
"psr-4": { "Brainbits\\TranscoderBundle\\": "src/" }
3535
},
36-
"minimum-stability": "stable"
36+
"autoload-dev": {
37+
"psr-4": { "Brainbits\\TranscoderBundle\\Tests\\": "tests/" }
38+
},
3739
}

tests/Brainbits/TranscoderBundle/Tests/DependencyInjection/BrainbitsTranscoderExtensionTest.php renamed to tests/DependencyInjection/BrainbitsTranscoderExtensionTest.php

File renamed without changes.

tests/Brainbits/TranscoderBundle/Tests/DependencyInjection/Compiler/AddDecoderPassTest.php renamed to tests/DependencyInjection/Compiler/AddDecoderPassTest.php

File renamed without changes.

tests/Brainbits/TranscoderBundle/Tests/DependencyInjection/Compiler/AddEncoderPassTest.php renamed to tests/DependencyInjection/Compiler/AddEncoderPassTest.php

File renamed without changes.

tests/Brainbits/TranscoderBundle/Tests/DependencyInjection/ConfigurationTest.php renamed to tests/DependencyInjection/ConfigurationTest.php

File renamed without changes.

tests/phpunit.xml.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
convertWarningsToExceptions="true"
77
syntaxCheck="true">
88
<testsuite name="brainbits">
9-
<directory>Brainbits/</directory>
9+
<directory>.</directory>
1010
</testsuite>
1111
<filter>
1212
<whitelist>
13-
<directory suffix=".php">../src/Brainbits/</directory>
13+
<directory suffix=".php">../src/</directory>
1414
</whitelist>
1515
</filter>
1616
</phpunit>

0 commit comments

Comments
 (0)