Skip to content

Commit 45be5e7

Browse files
Cleanup fix new rector findings
1 parent c5b1b91 commit 45be5e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Tests/Classes/PluginTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public function testBuildScriptOptionsAddsCookies(): void
205205
$plugin->_call('buildScriptOptions');
206206

207207
self::assertStringContainsString(
208-
' --cookie \'test1\' \'value1\' --cookie \'test2\' \'value2\'',
208+
" --cookie 'test1' 'value1' --cookie 'test2' 'value2'",
209209
$plugin->_call('buildScriptOptions')
210210
);
211211
}
@@ -341,7 +341,7 @@ public function testGeneratePdfIfNotCreatedSuccessfully(): void
341341
$plugin->_call('generatePdf', ['first', 'second'], 'first, second');
342342

343343
self::assertEquals(
344-
'/some/path/wkhtmltopdf --someArgs test first second \'/some/otherpath/file.pdf\' 2>&1',
344+
"/some/path/wkhtmltopdf --someArgs test first second '/some/otherpath/file.pdf' 2>&1",
345345
$plugin->_get('scriptCall')
346346
);
347347
}
@@ -378,7 +378,7 @@ public function testGeneratePdfIfCreatedSuccessfully(): void
378378
$plugin->_call('generatePdf', ['first', 'second'], 'first, second');
379379

380380
self::assertEquals(
381-
'/some/path/wkhtmltopdf --someArgs test first second \'/some/otherpath/file.pdf\' 2>&1',
381+
"/some/path/wkhtmltopdf --someArgs test first second '/some/otherpath/file.pdf' 2>&1",
382382
$plugin->_get('scriptCall')
383383
);
384384
}

0 commit comments

Comments
 (0)