Skip to content

Commit 39de672

Browse files
oliverkleeSam Tuke
authored andcommitted
[CLEANUP] Move the PHPUnit configuration file (#283)
This brings the project more in line with the default Symfony project structure.
1 parent e92c2cb commit 39de672

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.github/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ code coverage of the fixed bugs and the new features.
7979
To run the existing unit tests, run this command:
8080

8181
```bash
82-
vendor/bin/phpunit -c Configuration/PHPUnit/phpunit.xml tests/Unit/
82+
vendor/bin/phpunit tests/Unit/
8383
```
8484

8585
### Running the integration tests
@@ -102,7 +102,7 @@ and access credentials in `Configuration/parameters.yml`.
102102
After that has been done, you can run the integration tests:
103103

104104
```bash
105-
vendor/bin/phpunit -c Configuration/PHPUnit/phpunit.xml tests/Integration/
105+
vendor/bin/phpunit tests/Integration/
106106
```
107107

108108

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,17 @@ script:
6464
- >
6565
echo;
6666
echo "Running the unit tests";
67-
vendor/bin/phpunit -c Configuration/PHPUnit/phpunit.xml tests/Unit/;
67+
vendor/bin/phpunit tests/Unit/;
6868
6969
- >
7070
echo;
7171
echo "Running the integration tests";
72-
vendor/bin/phpunit -c Configuration/PHPUnit/phpunit.xml tests/Integration/;
72+
vendor/bin/phpunit tests/Integration/;
7373
7474
- >
7575
echo;
7676
echo "Running the system tests";
77-
vendor/bin/phpunit -c Configuration/PHPUnit/phpunit.xml tests/System/;
77+
vendor/bin/phpunit tests/System/;
7878
7979
- >
8080
echo;

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1414
- Bidirectional m:n association Subscribers/SubscriberLists (#254)
1515

1616
### Changed
17+
- Move the PHPUnit configuration file (#283)
1718
- Rename the Composer package to "phplist/core" (#275)
1819
- Remove the obsolete core classes (#267)
1920
- Adopt more of the default Symfony project structure (#265, #268, #269, #270)

Configuration/PHPUnit/phpunit.xml renamed to phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.2/phpunit.xsd"
66
backupGlobals="false"
77
colors="true"
8-
bootstrap="../../vendor/autoload.php"
8+
bootstrap="vendor/autoload.php"
99
>
1010
<php>
1111
<ini name="error_reporting" value="-1"/>

0 commit comments

Comments
 (0)