Posted by msonnabaum on March 7, 2013 at 6:00am
5 followers
Jump to:
| Project: | Drupal core |
| Version: | 8.x-dev |
| Component: | base system |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
| Issue tags: | phpunit |
Issue Summary
This one required changing the path it uses to a temporary path. Even if that's not 100% right, we should figure that out because its the only thing preventing it form working outside a drupal install.
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| phpfilestorage-phpunit.patch | 9.7 KB | Idle | PASSED: [[SimpleTest]]: [MySQL] 52,393 pass(es). | View details |
Comments
#1
That's good.
#2
Cool, this isn't that bad, which is nice.
From reading this, I filed two follow-up issues: #1945048: Move all tests to a Drupal\Tests\* namespace? and #1945040: Rename assertIdentical() to assertSame() for better compatibility with PHPUnit — to try and bring our overall test suite more inline with PHPUnit.
Committed and pushed to 8.x. Thanks!
#3
Automatically closed -- issue fixed for 2 weeks with no activity.
#4
Its fixed but you could use a vfsStreamWrapper, as demoed in #1872006-5: [PHPUnit] Add parity test classes for lib/Core and lib/Component.