-
Notifications
You must be signed in to change notification settings - Fork 19
IBX-12606: Migrated the test suites to PHPUnit 11 #831
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
038074b
IBX-12606: Migrated the test suites to PHPUnit 11
ViniTou 8a125e6
IBX-12606: Removed constructor override from EZP22612URLAliasTranslatβ¦
ViniTou b402202
IBX-12606: Used exactly()-based expectations for multi-target evaluatβ¦
ViniTou 69dbf94
IBX-12606: Stripped parameter lists from CoversMethod attribute methoβ¦
ViniTou f2828de
IBX-12606: Pointed CoversClass and CoversMethod attributes at concretβ¦
ViniTou 00bcef6
IBX-12606: Typed the SA_NODE_NAME constant in ContextualizerTest
ViniTou 3bafc39
IBX-12606: Replaced docblock-typed test double properties with nativeβ¦
ViniTou 068e27e
IBX-12606: Imported PHPUnit test double classes used in intersection β¦
ViniTou b8bf2b2
IBX-12606: Typed testIndexDelete() parameters in BackgroundIndexingTeβ¦
ViniTou 5c06464
IBX-12606: Moved and typed the data provider sentinel constants
ViniTou c8dec07
IBX-12606: Removed constructor override from EZP22840RoleLimitations β¦
ViniTou ff62442
IBX-12606: Used mocks instead of stubs for URL handlers with expectatβ¦
ViniTou f669fe8
IBX-12606: Replaced CoversMethod attributes with CoversClass
ViniTou 3bf81f8
IBX-12606: Asserted the recorded call sequence in ObjectStateHandlerTβ¦
ViniTou 71e0c1e
IBX-12606: Converted remaining docblock annotations to attributes
ViniTou 28f7097
IBX-12606: Renamed the EZP regression tests so PHPUnit discovers them
ViniTou 9d4ad44
IBX-12606: Dropped the CoversClass attribute targeting a test base clβ¦
ViniTou 31fd2b9
IBX-12606: Updated PHPStan baseline paths for the renamed EZP regressβ¦
ViniTou 45a9a27
IBX-12606: Added return types to test methods and data providers
ViniTou 48b0f90
IBX-12606: Used exactly()-based expectations for multi-target evaluatβ¦
ViniTou File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -6,6 +6,7 @@ var/ | |
| composer.lock | ||
| .php-cs-fixer.cache | ||
| .phpunit.result.cache | ||
| .phpunit.cache/ | ||
| /.deptrac.cache | ||
| phpstan.neon | ||
| .rules/ | ||
This file contains hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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,46 +1,37 @@ | ||
| <?xml version = '1.0' encoding = 'utf-8'?> | ||
| <phpunit backupGlobals="false" | ||
| backupStaticAttributes="false" | ||
| bootstrap="tests/integration/bootstrap.php" | ||
| processIsolation="false" | ||
| convertErrorsToExceptions="true" | ||
| convertNoticesToExceptions="true" | ||
| convertWarningsToExceptions="true" | ||
| beStrictAboutTestsThatDoNotTestAnything="false" | ||
| colors="true" | ||
| failOnWarning="true" | ||
| > | ||
| <php> | ||
| <env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled"/> | ||
| <ini name="error_reporting" value="-1" /> | ||
| <env name="DATABASE_URL" value="sqlite://i@i/var/test-bootstrapper.db" /> | ||
| <env name="KERNEL_CLASS" value="Ibexa\Tests\Integration\Core\TestKernel"/> | ||
| <env name="SEARCH_ENGINE" value="legacy"/> | ||
| </php> | ||
| <testsuites> | ||
| <testsuite name="integration_core"> | ||
| <file>tests/integration/Core/BasicKernelTest.php</file> | ||
| <file>tests/integration/Core/Repository/SerializationTest.php</file> | ||
| <file>tests/integration/Core/Repository/ContentTypeService/FindContentTypesTest.php</file> | ||
| <file>tests/integration/Core/Repository/ContentService/CopyNonTranslatableFieldsFromPublishedVersionTest.php</file> | ||
| <file>tests/integration/Core/Persistence/Legacy/BookmarkHandlerTest.php</file> | ||
| <file>tests/integration/Core/Repository/ContentService/CopyTranslationsFromPublishedVersionTest.php</file> | ||
| <file>tests/integration/Core/Repository/ContentService/CreateContentInNonContainerTest.php</file> | ||
| <file>tests/integration/Core/Repository/URLAliasService/UrlAliasLookupTest.php</file> | ||
| <file>tests/integration/Core/Repository/ContentService/ContentUpdateAfterAddingFieldDefinitionTest.php</file> | ||
| <file>tests/integration/Core/Repository/ContentService/UpdateContentTest.php</file> | ||
| <file>tests/integration/Core/Repository/ContentService/ImageAssetTest.php</file> | ||
| <file>tests/integration/Core/Repository/ContentService/LoadVersionInfoTest.php</file> | ||
| <file>tests/integration/Core/Repository/ContentService/DeleteContentTest.php</file> | ||
| <file>tests/integration/Core/Repository/ContentService/MaxLanguagesContentServiceTest.php</file> | ||
| <file>tests/integration/Core/Repository/SearchServiceBookmarkTest.php</file> | ||
| <file>tests/integration/Core/Repository/SearchServiceContentNameTest.php</file> | ||
| <file>tests/integration/Core/Repository/SearchServiceImageTest.php</file> | ||
| <file>tests/integration/Core/Repository/Filtering/LegacyContentFilteringTest.php</file> | ||
| <file>tests/integration/Core/Repository/KeywordFieldCriterionTest.php</file> | ||
| </testsuite> | ||
| </testsuites> | ||
| <extensions> | ||
| <extension class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension" /> | ||
| </extensions> | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <phpunit backupGlobals="false" bootstrap="tests/integration/bootstrap.php" processIsolation="false" beStrictAboutTestsThatDoNotTestAnything="false" colors="true" failOnWarning="true" cacheDirectory=".phpunit.cache" backupStaticProperties="false"> | ||
| <php> | ||
| <env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled"/> | ||
| <ini name="error_reporting" value="-1"/> | ||
| <env name="DATABASE_URL" value="sqlite://i@i/var/test-bootstrapper.db"/> | ||
| <env name="KERNEL_CLASS" value="Ibexa\Tests\Integration\Core\TestKernel"/> | ||
| <env name="SEARCH_ENGINE" value="legacy"/> | ||
| </php> | ||
| <testsuites> | ||
| <testsuite name="integration_core"> | ||
| <file>tests/integration/Core/BasicKernelTest.php</file> | ||
| <file>tests/integration/Core/Repository/SerializationTest.php</file> | ||
| <file>tests/integration/Core/Repository/ContentTypeService/FindContentTypesTest.php</file> | ||
| <file>tests/integration/Core/Repository/ContentService/CopyNonTranslatableFieldsFromPublishedVersionTest.php</file> | ||
| <file>tests/integration/Core/Persistence/Legacy/BookmarkHandlerTest.php</file> | ||
| <file>tests/integration/Core/Repository/ContentService/CopyTranslationsFromPublishedVersionTest.php</file> | ||
| <file>tests/integration/Core/Repository/ContentService/CreateContentInNonContainerTest.php</file> | ||
| <file>tests/integration/Core/Repository/URLAliasService/UrlAliasLookupTest.php</file> | ||
| <file>tests/integration/Core/Repository/ContentService/ContentUpdateAfterAddingFieldDefinitionTest.php</file> | ||
| <file>tests/integration/Core/Repository/ContentService/UpdateContentTest.php</file> | ||
| <file>tests/integration/Core/Repository/ContentService/ImageAssetTest.php</file> | ||
| <file>tests/integration/Core/Repository/ContentService/LoadVersionInfoTest.php</file> | ||
| <file>tests/integration/Core/Repository/ContentService/DeleteContentTest.php</file> | ||
| <file>tests/integration/Core/Repository/ContentService/MaxLanguagesContentServiceTest.php</file> | ||
| <file>tests/integration/Core/Repository/SearchServiceBookmarkTest.php</file> | ||
| <file>tests/integration/Core/Repository/SearchServiceContentNameTest.php</file> | ||
| <file>tests/integration/Core/Repository/SearchServiceImageTest.php</file> | ||
| <file>tests/integration/Core/Repository/Filtering/LegacyContentFilteringTest.php</file> | ||
| <file>tests/integration/Core/Repository/KeywordFieldCriterionTest.php</file> | ||
| </testsuite> | ||
| </testsuites> | ||
| <extensions> | ||
| <bootstrap class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension"/> | ||
| <bootstrap class="Symfony\Bridge\PhpUnit\SymfonyExtension"/> | ||
| </extensions> | ||
| </phpunit> |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.