Skip to content

Commit d9f958a

Browse files
committed
trying something else
1 parent 945c81c commit d9f958a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/Credentials/ExternalAccountCredentialsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -606,8 +606,8 @@ public function testExecutableCredentialSourceEnvironmentVars()
606606
'echo $GOOGLE_EXTERNAL_ACCOUNT_AUDIENCE,$GOOGLE_EXTERNAL_ACCOUNT_TOKEN_TYPE,%s > "%s"' .
607607
' && echo \'%s\' > "$GOOGLE_EXTERNAL_ACCOUNT_OUTPUT_FILE"' .
608608
' && echo \'%s\'',
609-
escapeshellarg($fileContents),
610-
escapeshellarg($tmpFile),
609+
$fileContents,
610+
$tmpFile,
611611
$successJson,
612612
$successJson
613613
);

tests/ExecutableHandler/ExecutableHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function testWriteToFile()
6060
$handler = new ExecutableHandler();
6161

6262
$tmpFile = tempnam(sys_get_temp_dir(), 'test');
63-
$this->assertEquals(0, $handler('bash -c \'echo "Response from File" > \"' . $tmpFile . '\"\''));
63+
$this->assertEquals(0, $handler('bash -c \'echo "Response from File" > "' . $tmpFile . '"\''));
6464
$this->assertEquals("Response from File\n", file_get_contents($tmpFile));
6565
}
6666
}

0 commit comments

Comments
 (0)