Skip to content

Commit b64ff53

Browse files
committed
Fix single request tests
1 parent cf1e6cf commit b64ff53

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

features/profile-eval-file.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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`

features/profile-eval.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 |

0 commit comments

Comments
 (0)