public function S3fsDrushTest::testDrushRefreshCache in S3 File System 8.3
Same name and namespace in other branches
- 4.0.x tests/src/Functional/S3fsDrushTest.php \Drupal\Tests\s3fs\Functional\S3fsDrushTest::testDrushRefreshCache()
Coverage test for the drush refresh-cache.
File
- tests/
src/ Functional/ S3fsDrushTest.php, line 50
Class
- S3fsDrushTest
- S3 File System Tests.
Namespace
Drupal\Tests\s3fs\FunctionalCode
public function testDrushRefreshCache() {
$this
->drush('s3fs:refresh-cache');
$messages = $this
->getErrorOutput();
$this
->assertStringContainsString('Message: The cached list of files has been refreshed in', $messages, 'Successfully Refreshed Cache');
}