Skip to content

Commit 240fc63

Browse files
oliverkleeSam Tuke
authored andcommitted
[CLEANUP] Move the PHPUnit configuration file (#78)
This will bring the project closer to the default Symfony project structure.
1 parent b4f31b2 commit 240fc63

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ When running the integration tests, you will need to specify the database name
9292
and access credentials on the command line (in the same line):
9393

9494
```bash
95-
PHPLIST_DATABASE_NAME=phplist_test PHPLIST_DATABASE_USER=phplist PHPLIST_DATABASE_PASSWORD=batterystaple vendor/bin/phpunit -c Configuration/PHPUnit/phpunit.xml tests/Integration/
95+
PHPLIST_DATABASE_NAME=phplist_test PHPLIST_DATABASE_USER=phplist PHPLIST_DATABASE_PASSWORD=batterystaple vendor/bin/phpunit tests/Integration/
9696
```
9797

9898

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ script:
6363
- >
6464
echo;
6565
echo "Running the integration tests";
66-
vendor/bin/phpunit -c Configuration/PHPUnit/phpunit.xml tests/Integration/;
66+
vendor/bin/phpunit tests/Integration/;
6767
6868
- >
6969
echo;

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
1010
- System tests for the test and dev environment (#69)
1111

1212
### Changed
13+
- Move the PHPUnit configuration file (#78)
1314
- Use the renamed phplist/core package (#77)
1415
- Adopt more of the default Symfony project structure (#73, #74, #75)
1516

Configuration/.gitkeep

Whitespace-only changes.

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)