File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 14
14
use Symfony \Component \Security \Core \User \InMemoryUser ;
15
15
16
16
use function current ;
17
- use function method_exists ;
18
17
use function Safe \json_encode ;
19
18
20
19
#[CoversClass(RequestBuilder::class)]
@@ -232,10 +231,6 @@ public function testAuthenticationHeadersAreSetOnAuthCall(): void
232
231
233
232
public function testAuthorizationHeaderIsSetOnAuthLoginWithDeprecatedFindUser (): void
234
233
{
235
- if (!method_exists (KernelBrowser::class, 'loginUser ' )) {
236
- $ this ->markTestSkipped ('authLogin() only available for symfony/framework-bundle >= 5.1 ' );
237
- }
238
-
239
234
$ browser = $ this ->createMock (KernelBrowser::class);
240
235
$ browser ->expects ($ this ->once ())
241
236
->method ('loginUser ' )
@@ -253,10 +248,6 @@ public function testAuthorizationHeaderIsSetOnAuthLoginWithDeprecatedFindUser():
253
248
254
249
public function testAuthorizationHeaderIsSetOnAuthLoginCall (): void
255
250
{
256
- if (!method_exists (KernelBrowser::class, 'loginUser ' )) {
257
- $ this ->markTestSkipped ('authLogin() only available for symfony/framework-bundle >= 5.1 ' );
258
- }
259
-
260
251
$ browser = $ this ->createMock (KernelBrowser::class);
261
252
$ browser ->expects ($ this ->never ())
262
253
->method ('loginUser ' );
You can’t perform that action at this time.
0 commit comments