-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PHPUnit 10 removed some methods which were marked as `@internal`. On top of that, a lot of other issues presented itself (which were already incorrect in the past). This fixes that by moving the base `Controller` and `Mapper` tests to a trait.
- Loading branch information
Showing
13 changed files
with
113 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<phpunit | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd" | ||
bootstrap="./bootstrap.php" | ||
colors="true"> | ||
<coverage processUncoveredFiles="true" pathCoverage="true"> | ||
<include> | ||
<directory suffix=".php">./module/Activity/src</directory> | ||
<directory suffix=".php">./module/Application/src</directory> | ||
<directory suffix=".php">./module/Company/src</directory> | ||
<directory suffix=".php">./module/Decision/src</directory> | ||
<directory suffix=".php">./module/Education/src</directory> | ||
<directory suffix=".php">./module/Frontpage/src</directory> | ||
<directory suffix=".php">./module/Photo/src</directory> | ||
<directory suffix=".php">./module/User/src</directory> | ||
</include> | ||
</coverage> | ||
|
||
<testsuites> | ||
<testsuite name="gewisweb"> | ||
<directory>./module/Activity/test/</directory> | ||
<directory>./module/Application/test/</directory> | ||
<directory>./module/Company/test/</directory> | ||
<directory>./module/Decision/test/</directory> | ||
<directory>./module/Education/test/</directory> | ||
<directory>./module/Frontpage/test/</directory> | ||
<directory>./module/Photo/test/</directory> | ||
<directory>./module/User/test/</directory> | ||
</testsuite> | ||
</testsuites> | ||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="./bootstrap.php" colors="true" cacheDirectory=".phpunit.cache"> | ||
<testsuites> | ||
<testsuite name="gewisweb"> | ||
<directory>./module/Activity/test/</directory> | ||
<directory>./module/Application/test/</directory> | ||
<directory>./module/Company/test/</directory> | ||
<directory>./module/Decision/test/</directory> | ||
<directory>./module/Education/test/</directory> | ||
<directory>./module/Frontpage/test/</directory> | ||
<directory>./module/Photo/test/</directory> | ||
<directory>./module/User/test/</directory> | ||
</testsuite> | ||
</testsuites> | ||
<source> | ||
<include> | ||
<directory suffix=".php">./module/Activity/src</directory> | ||
<directory suffix=".php">./module/Application/src</directory> | ||
<directory suffix=".php">./module/Company/src</directory> | ||
<directory suffix=".php">./module/Decision/src</directory> | ||
<directory suffix=".php">./module/Education/src</directory> | ||
<directory suffix=".php">./module/Frontpage/src</directory> | ||
<directory suffix=".php">./module/Photo/src</directory> | ||
<directory suffix=".php">./module/User/src</directory> | ||
</include> | ||
</source> | ||
</phpunit> |
Oops, something went wrong.