@@ -60,10 +60,14 @@ public function testExpectationNotWasCalledThrowException2(): void
6060
6161 public function testExpectationWasCalledButWasNotWithGoodRecomendation (): void
6262 {
63- $ this ->client ->request ('GET ' , 'https://jsonplaceholder.typicode.com/posts/2 ' , ['http_errors ' =>false ]);
64- $ this ->client ->request ('GET ' , 'https://jsonplaceholder.typicode.com/posts/2 ' , ['http_errors ' =>false ]);
65- $ this ->client ->request ('GET ' , 'https://jsonplaceholder.typicode.com/posts/5 ' , ['http_errors ' =>false , 'headers ' => ['randomHeader ' => 'value ' ]]);
66- $ this ->client ->request ('GET ' , 'https://jsonplaceholder.typicode.com/users/3/albums ' , ['http_errors ' =>false ]);
63+ $ this ->client ->request ('GET ' , 'https://jsonplaceholder.typicode.com/posts/2 ' , ['http_errors ' => false ]);
64+ $ this ->client ->request ('GET ' , 'https://jsonplaceholder.typicode.com/posts/2 ' , ['http_errors ' => false ]);
65+ $ this ->client ->request (
66+ 'GET ' ,
67+ 'https://jsonplaceholder.typicode.com/posts/5 ' ,
68+ ['http_errors ' => false , 'headers ' => ['randomHeader ' => 'value ' ]]
69+ );
70+ $ this ->client ->request ('GET ' , 'https://jsonplaceholder.typicode.com/users/3/albums ' , ['http_errors ' => false ]);
6771
6872 $ this ->expectException (AssertionFailedError::class);
6973 $ this ->expectExceptionMessageMatches ('#.*"path": " \\\/users \\\/3 \\\/albums".*# ' );
@@ -72,10 +76,14 @@ public function testExpectationWasCalledButWasNotWithGoodRecomendation(): void
7276
7377 public function testExpectationWasCalledButWasNotWithGoodRecomendation2 (): void
7478 {
75- $ this ->client ->request ('GET ' , 'https://jsonplaceholder.typicode.com/posts/2 ' , ['http_errors ' =>false ]);
76- $ this ->client ->request ('GET ' , 'https://jsonplaceholder.typicode.com/posts/2 ' , ['http_errors ' =>false ]);
77- $ this ->client ->request ('GET ' , 'https://jsonplaceholder.typicode.com/posts/5 ' , ['http_errors ' =>false ]);
78- $ this ->client ->request ('GET ' , 'https://jsonplaceholder.typicode.com/users/3/albums ' , ['http_errors ' =>false , 'headers ' => ['randomHeader ' => 'value ' ]]);
79+ $ this ->client ->request ('GET ' , 'https://jsonplaceholder.typicode.com/posts/2 ' , ['http_errors ' => false ]);
80+ $ this ->client ->request ('GET ' , 'https://jsonplaceholder.typicode.com/posts/2 ' , ['http_errors ' => false ]);
81+ $ this ->client ->request ('GET ' , 'https://jsonplaceholder.typicode.com/posts/5 ' , ['http_errors ' => false ]);
82+ $ this ->client ->request (
83+ 'GET ' ,
84+ 'https://jsonplaceholder.typicode.com/users/3/albums ' ,
85+ ['http_errors ' => false , 'headers ' => ['randomHeader ' => 'value ' ]]
86+ );
7987
8088 $ this ->expectException (AssertionFailedError::class);
8189 $ this ->expectExceptionMessageMatches ('#.*"path": " \\\/posts \\\/5".*# ' );
0 commit comments