Unverified Commit 7ee41bff authored by alexpott's avatar alexpott
Browse files

Issue #2985317 by msankhala: Remove unused local variable and...

Issue #2985317 by msankhala: Remove unused local variable and simpletest_generate_file() function call from core/modules/file/tests/src/Functional/FileFieldDisplayTest.php
parent ea5f3536
......@@ -53,8 +53,7 @@ public function testNodeDisplay() {
$this->assertNoText($field_name, format_string('Field label is hidden when no file attached for formatter %formatter', ['%formatter' => $formatter]));
}
$test_file = $this->getTestFile('text');
simpletest_generate_file('escaped-&-text', 64, 10, 'text');
$this->generateFile('escaped-&-text', 64, 10, 'text');
$test_file = File::create([
'uri' => 'public://escaped-&-text.txt',
'name' => 'escaped-&-text',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment