Skip to content

Commit 44f573b

Browse files
committed
Simplified tests layout
1 parent c8ea478 commit 44f573b

File tree

4 files changed

+5
-12
lines changed

4 files changed

+5
-12
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"license": "MIT",
88
"autoload": {
99
"psr-0": {
10-
"MyCLabs": "src/"
10+
"MyCLabs\\Enum\\": "src/"
1111
}
1212
}
1313
}

phpunit.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
processIsolation="false"
1212
stopOnFailure="false"
1313
syntaxCheck="false"
14-
bootstrap="./tests/bootstrap.php">
14+
bootstrap="./vendor/autoload.php">
1515

1616
<testsuites>
1717
<testsuite name="Enum Test Suite">
18-
<directory>./tests/UnitTest/MyCLabs/Enum</directory>
18+
<directory>./tests</directory>
1919
</testsuite>
2020
</testsuites>
2121

tests/UnitTest/MyCLabs/Enum/EnumTest.php renamed to tests/EnumTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
/**
33
* @link http://github.com/myclabs/php-enum
4-
* @author Matthieu Napoli <matthieu@mnapoli.fr>
54
* @license http://www.opensource.org/licenses/mit-license.php MIT (see the LICENSE file)
65
*/
76

@@ -11,6 +10,8 @@
1110

1211
/**
1312
* Enum test
13+
*
14+
* @author Matthieu Napoli <matthieu@mnapoli.fr>
1415
*/
1516
class EnumTest extends \PHPUnit_Framework_TestCase
1617
{

tests/bootstrap.php

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)