Skip to content

Commit

Permalink
Change the ip address for invalid comment author ip error test (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzkocer authored Dec 23, 2024
1 parent 5df7bbb commit 9327d56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wp_api_integration_tests/tests/test_comments_err.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ async fn create_err_comment_invalid_author_ip() {
.comments()
.create(
&CommentCreateParamsBuilder::new(FIRST_POST_ID, "foo".to_string())
.author_ip(Some("127.0.0.1".to_string()))
// A different IP from the one making the request
.author_ip(Some("8.8.8.8".to_string()))
.build(),
)
.await
Expand Down

0 comments on commit 9327d56

Please sign in to comment.