8000 minor #59850 [VarDumper] Don't make `CurlCasterTest` response status … · symfony/symfony@c715827 · GitHub
[go: up one dir, main page]

Skip to content

Commit c715827

Browse files
committed
minor #59850 [VarDumper] Don't make CurlCasterTest response status dependant (alexandre-daubois)
This PR was merged into the 7.3 branch. Discussion ---------- [VarDumper] Don't make `CurlCasterTest` response status dependant | Q | A | ------------- | --- | Branch? | 7.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT This test sometimes fail because http://example.com/ returns a status code 400 instead of 200, making the CI red randomly. I think this test success should not depend on the status code, the goal is only to check if the data is properly formatted. Commits ------- 83bce43 [VarDumper] Don't make `CurlCasterTest` response status dependant
2 parents f4666ce + 83bce43 commit c715827

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Component/VarDumper/Tests/Caster/CurlCasterTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ public function testCastCurl()
3232
CurlHandle {
3333
url: "http://example.com/"
3434
content_type: "text/html"
35-
http_code: 200%A
35+
http_code: %d
36+
%A
3637
}
3738
EODUMP, $ch);
3839
}

0 commit comments

Comments
 (0)
0