File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ Feature: Profile arbitary file execution
2121 And a http-request.php file:
2222 """
2323 <?php
24- wp_remote_get( "http ://apple.com" );
24+ wp_remote_get( "https ://www. apple.com/ " );
2525 """
2626
2727 When I run `wp profile eval-file http-request.php --fields=request_count`
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Feature: Profile arbitary code execution
1818 Scenario : Profile a function that makes one HTTP request
1919 Given a WP install
2020
21- When I run `wp profile eval 'wp_remote_get( "http ://apple.com" );' --fields=request_count`
21+ When I run `wp profile eval 'wp_remote_get( "https ://www. apple.com/ " );' --fields=request_count`
2222 Then STDOUT should be a table containing rows:
2323 | request_count |
2424 | 1 |
You can’t perform that action at this time.
0 commit comments