Bug #1134
F3_FLOW3_Utility_EnvironmentTest produces an error on WAMP installations
| Status: | Resolved | Start: | 2008-07-26 | |
| Priority: | Should have | Due date: | ||
| Assigned to: | Bastian Waidelich | % Done: | 100% |
|
| Category: | Utility | |||
| Target version: | - | Estimated time: | 0.00 hours | |
Description
Running the FLOW3 Testrunner for "F3_FLOW3_Utility_EnvironmentTest" results raises one failure:
getPathToTemporaryDirectoryReturnsPathWithTrailingSlash:
getPathToTemporaryDirectoryReturnsPathWithTrailingSlash:
[...]\flow3\Packages\PHPUnit\Resources\PHP\PHPUnit\Framework\Assert.php:1524 The temporary path did not end with slash (as in DIRECTORY_SEPARATOR). Failed asserting that <string:/> is equal to <string:\>. The temporary path did not end with slash (as in DIRECTORY_SEPARATOR).
Associated revisions
- FLOW3: (Cache) It's not always possible to check whether a file or directory is writable or not on Windows. Solution for now: Skip setCacheDirectoryThrowsExceptionOnNonWritableDirectory() in Windows environments. Fixes
#918. - FLOW3: (Utility) getPathToTemporaryDirectoryReturnsPathWithTrailingSlash() checked whether temp-directory ends with a trailing slash as in DIRECTORY_SEPARATOR. Replaced this constant by a forward slash in the test now, as we're only working with forward slashes in FLOW3. Fixes
#1134.