Review TYPO3_6-2 Merged

36517[BUGFIX] Improve functional test execution on Windows system

Nicole Hummel CR +2 V +2 Easy +8 −7 updated 01/31/15, 16:17

Commit message

On Windows systems you can execute several commands using '&' like
set typo3DatabaseUsername=root & set typo3DatabasePassword=root.
Unfortunately Windows sets those parameter with a trailing space. This
causes database connections not to work. Therefore the patch adds a trim
on getting system environment variables for database credentials for
functional tests.

Furthermore the PHP versions on Windows throw a warning on setting the
database name when the connection is closed. The warning is caught by
PHPUnit but the database tables aren't initialized correctly. This patch
adds an '@' to mute the warning.

Review

  • Code review CR +2
    • Nicole Hummel +2
    • Oliver Klee +1
  • Verified V +2
    • Nicole Hummel +2

Issues 1

Files 1

Review log 6

  1. Nicole Hummel uploaded patch set 1 01/31/15, 15:19

  2. Oliver Klee commented on patch set 1 01/31/15, 15:29

    FunctionalTestCaseBootstrapUtility.php:493

    Please also let's have the comment like in master here.
  3. Nicole Hummel uploaded patch set 2 01/31/15, 15:46

  4. Oliver Klee voted on patch set 2 CR +1 01/31/15, 15:50

  5. Nicole Hummel voted on patch set 2 CR +2 V +2 01/31/15, 16:17

  6. Nicole Hummel merged patch set 2 01/31/15, 16:17