There was an error fetching the commit references. Please try again later.
[TASK] Replace prophecy in EXT:core/Tests/Unit/Database/*
Note, that the combination of shouldBeCalled and shouldNotBeCalled for the `quoteIdentifier` function in `QueryBuilderTest` has been replaced with the `never` expectation only, since the tests only test, if the star placeholder is not quoted. Also 2 new mock classes have been introduced to cover the tests in `AbstractRestrictionContainerTest`, where the mock object must implement 2 interfaces, which is not mockable. Resolves: #98792 Resolves: #98793 Resolves: #98794 Resolves: #98795 Resolves: #98796 Resolves: #98797 Resolves: #98798 Resolves: #98799 Resolves: #98800 Resolves: #98801 Resolves: #98802 Resolves: #98803 Resolves: #98804 Releases: main Change-Id: I691c69f201e39cd8d6d580cbbb86fad4cb032c64 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/76666 Tested-by:Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Stefan Bürk <stefan@buerk.tech>
Showing
- typo3/sysext/core/Tests/Unit/Database/ConnectionTest.php 4 additions, 7 deletionstypo3/sysext/core/Tests/Unit/Database/ConnectionTest.php
- typo3/sysext/core/Tests/Unit/Database/Mocks/MockEnforceableQueryRestriction.php 28 additions, 0 deletions...s/Unit/Database/Mocks/MockEnforceableQueryRestriction.php
- typo3/sysext/core/Tests/Unit/Database/Mocks/MockQueryRestriction.php 30 additions, 0 deletions...t/core/Tests/Unit/Database/Mocks/MockQueryRestriction.php
- typo3/sysext/core/Tests/Unit/Database/Platform/PlatformInformationTest.php 5 additions, 11 deletions.../Tests/Unit/Database/Platform/PlatformInformationTest.php
- typo3/sysext/core/Tests/Unit/Database/Query/QueryBuilderTest.php 282 additions, 493 deletions...ysext/core/Tests/Unit/Database/Query/QueryBuilderTest.php
- typo3/sysext/core/Tests/Unit/Database/Query/QueryHelperTest.php 4 additions, 8 deletions...sysext/core/Tests/Unit/Database/Query/QueryHelperTest.php
- typo3/sysext/core/Tests/Unit/Database/Query/Restriction/AbstractRestrictionContainerTest.php 19 additions, 34 deletions...se/Query/Restriction/AbstractRestrictionContainerTest.php
- typo3/sysext/core/Tests/Unit/Database/Query/Restriction/AbstractRestrictionTestCase.php 8 additions, 15 deletions...atabase/Query/Restriction/AbstractRestrictionTestCase.php
- typo3/sysext/core/Tests/Unit/Database/Query/Restriction/LimitToTablesRestrictionContainerTest.php 5 additions, 7 deletions...ery/Restriction/LimitToTablesRestrictionContainerTest.php
- typo3/sysext/core/Tests/Unit/Database/Schema/ConnectionMigratorTest.php 10 additions, 20 deletions...ore/Tests/Unit/Database/Schema/ConnectionMigratorTest.php
- typo3/sysext/core/Tests/Unit/Database/Schema/EventListener/SchemaColumnDefinitionListenerTest.php 13 additions, 21 deletions...hema/EventListener/SchemaColumnDefinitionListenerTest.php
- typo3/sysext/core/Tests/Unit/Database/Schema/Parser/TableBuilderTest.php 2 additions, 10 deletions...re/Tests/Unit/Database/Schema/Parser/TableBuilderTest.php
- typo3/sysext/core/Tests/Unit/Database/Schema/SqlReaderTest.php 7 additions, 10 deletions.../sysext/core/Tests/Unit/Database/Schema/SqlReaderTest.php
- typo3/sysext/core/Tests/Unit/Database/Schema/Types/EnumTypeTest.php 4 additions, 11 deletions...xt/core/Tests/Unit/Database/Schema/Types/EnumTypeTest.php
- typo3/sysext/core/Tests/Unit/Database/Schema/Types/SetTypeTest.php 4 additions, 11 deletions...ext/core/Tests/Unit/Database/Schema/Types/SetTypeTest.php
Please register or sign in to comment