Bug #64657
Bug #40005: Several unit tests fail under Windows system
Failing unit test in SqlSchemaMigrationServiceTest on Windows systems
Status: | Resolved | Start date: | 2015-01-30 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Nicole Cordes | % Done: | 100% |
|
Category: | Unit/Functional Tests | Spent time: | - | |
Target version: | 7.1 (Cleanup) | |||
TYPO3 Version: | 6.2 | Is Regression: | No | |
PHP Version: | Sprint Focus: | On Location Sprint | ||
Complexity: |
Description
The test getFieldDefinitionsFileContentHandlesMultipleWhitespacesInFieldDefinitions fails on Windows systems because the expected and actual array have a different array key for the table name. On run time within the code tables names are set explicit to lower cases.
Associated revisions
[BUGFIX] Failing unit test in SqlSchemaMigrationServiceTest
Currently the test for handling multiple white spaces within the sql
field definitions fails on Windows systems because of a different key
for the table name within the expected and actual array. This is caused
by a strict lowercase converting in the code for Windows systems. As the
table name is irrelevant for the test itself, this patch simply converts
table name to lower case.
Releases: master, 6.2
Resolves: #64657
Change-Id: I8d083e988b9a7403f0ff514af1ebe54adf065383
Reviewed-on: http://review.typo3.org/36459
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
[BUGFIX] Failing unit test in SqlSchemaMigrationServiceTest
Currently the test for handling multiple white spaces within the sql
field definitions fails on Windows systems because of a different key
for the table name within the expected and actual array. This is caused
by a strict lowercase converting in the code for Windows systems. As the
table name is irrelevant for the test itself, this patch simply converts
table name to lower case.
Releases: master, 6.2
Resolves: #64657
Change-Id: I8d083e988b9a7403f0ff514af1ebe54adf065383
Reviewed-on: http://review.typo3.org/36463
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
History
#1 Updated by Gerrit Code Review 6 months ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36459
#2 Updated by Gerrit Code Review 6 months ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/36463
#3 Updated by Nicole Cordes 6 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 6fa5cef8a922a30d39253e9c24ae372267cd2575.