Skip to content

Commit

Permalink
Testing file upload test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aik099 committed Feb 24, 2024
1 parent a9d8f56 commit d111782
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/Custom/WindowNameTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,13 @@ public function testSetValueChangeEventCopy(string $elementId, string $valueForE

public static function setValueChangeEventCopyDataProvider(): iterable
{
$file1 = __DIR__ . '/../../vendor/mink/driver-testsuite/web-fixtures/file1.txt';
$file2 = __DIR__ . '/../../vendor/mink/driver-testsuite/web-fixtures/file2.txt';
if (getenv('GITHUB_ACTION')) {
$file1 = '/etc/hosts.allow';
$file2 = '/etc/hosts.deny';
} else {
$file1 = realpath(__DIR__ . '/../../vendor/mink/driver-testsuite/web-fixtures/file1.txt');
$file2 = realpath(__DIR__ . '/../../vendor/mink/driver-testsuite/web-fixtures/file2.txt');
}

return [
'input default' => ['the-input-default', 'from empty', 'from existing'],
Expand Down

0 comments on commit d111782

Please sign in to comment.