Skip to content
This repository was archived by the owner on Jan 5, 2018. It is now read-only.

Commit fe199b3

Browse files
gitslashrsm
authored andcommitted
Issue #2723161 by Denchev: Fix FileEntityPathautoTest test fail.
1 parent af41313 commit fe199b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tests/FileEntityPathautoTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function testPathauto() {
4040
$file = $this->createFileEntity(['filename' => 'example.png']);
4141

4242
$path = \Drupal::service('path.alias_storage')->load(array('source' => '/' . $file->urlInfo()->getInternalPath()));
43-
$this->assertEqual($path['alias'], '/files/example-png', t('Alias for file found.'));
43+
$this->assertEqual($path['alias'], '/files/examplepng', t('Alias for file found.'));
4444
}
4545

4646
}

0 commit comments

Comments
 (0)