Skip to content

Commit 6be3a84

Browse files
committed
MC-42008: Problem with customer API route
1 parent e244411 commit 6be3a84

File tree

1 file changed

+3
-1
lines changed
  • dev/tests/api-functional/framework/Magento/TestFramework/TestCase/HttpClient

1 file changed

+3
-1
lines changed

dev/tests/api-functional/framework/Magento/TestFramework/TestCase/HttpClient/CurlClient.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ class CurlClient
1515

1616
public function __destruct()
1717
{
18-
unlink(self::TMP_COOKIE_FILE);
18+
if (file_exists(self::TMP_COOKIE_FILE)) {
19+
unlink(self::TMP_COOKIE_FILE);
20+
}
1921
}
2022

2123
/**

0 commit comments

Comments
 (0)