Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
phpfilestorage-phpunit.patch | 9.7 KB | msonnabaum | |
Comments
Comment #1
chx CreditAttribution: chx commentedThat's good.
Comment #2
webchickCool, 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!
Comment #4
Sylvain Lecoy CreditAttribution: Sylvain Lecoy commentedIts fixed but you could use a vfsStreamWrapper, as demoed in #1872006-5: Add parity test classes for lib/Core and lib/Component.