You are here

public function FetchManagerTest::testStyleOriginalPath in Stage File Proxy 8

@covers Drupal\stage_file_proxy\FetchManager::styleOriginalPath

File

tests/src/Kernel/FetchManagerTest.php, line 80

Class

FetchManagerTest
Test stage file proxy module.

Namespace

Drupal\Tests\stage_file_proxy\Kernel

Code

public function testStyleOriginalPath() {

  // Test image style path assuming public file scheme.
  $this
    ->assertEquals('public://example.jpg', $this->fetchManager
    ->styleOriginalPath('styles/icon_50x50_/public/example.jpg'));
}