@@ -329,62 +329,6 @@ public function testAssertSeeEscapedCanFail()
329
329
$ response ->assertSee (['bar & baz ' , 'baz & qux ' ]);
330
330
}
331
331
332
- public function testAssertSeeCatchesNullValue ()
333
- {
334
- $ this ->expectException (AssertionFailedError::class);
335
-
336
- $ response = $ this ->makeMockResponse ([
337
- 'render ' => '<ul><li>foo</li><li>bar</li><li>baz</li><li>foo</li></ul> ' ,
338
- ]);
339
-
340
- $ response ->assertSee (null );
341
- }
342
-
343
- public function testAssertSeeCatchesEmptyArray ()
344
- {
345
- $ this ->expectException (AssertionFailedError::class);
346
-
347
- $ response = $ this ->makeMockResponse ([
348
- 'render ' => '<ul><li>foo</li><li>bar</li><li>baz</li><li>foo</li></ul> ' ,
349
- ]);
350
-
351
- $ response ->assertSee ([]);
352
- }
353
-
354
- public function testAssertSeeCatchesEmptyString ()
355
- {
356
- $ this ->expectException (AssertionFailedError::class);
357
-
358
- $ response = $ this ->makeMockResponse ([
359
- 'render ' => '<ul><li>foo</li><li>bar</li><li>baz</li><li>foo</li></ul> ' ,
360
- ]);
361
-
362
- $ response ->assertSee ('' );
363
- }
364
-
365
- public function testAssertSeeCatchesEmptyStringInArray ()
366
- {
367
- $ this ->expectException (AssertionFailedError::class);
368
-
369
- $ response = $ this ->makeMockResponse ([
370
- 'render ' => '<ul><li>foo</li><li>bar</li><li>baz</li><li>foo</li></ul> ' ,
371
- ]);
372
-
373
- $ response ->assertSee (['foo ' , '' , 'bar ' ]);
374
- }
375
-
376
- public function testAssertSeeAllowsEmptyValues ()
377
- {
378
- $ response = $ this ->makeMockResponse ([
379
- 'render ' => '<ul><li>foo</li><li>bar</li><li>baz</li><li>foo</li></ul> ' ,
380
- ]);
381
-
382
- $ response ->assertSee (null , allowEmptyValues: true );
383
- $ response ->assertSee ([], allowEmptyValues: true );
384
- $ response ->assertSee ('' , allowEmptyValues: true );
385
- $ response ->assertSee (['foo ' , '' , 'bar ' ], allowEmptyValues: true );
386
- }
387
-
388
332
public function testAssertSeeInOrder ()
389
333
{
390
334
$ response = $ this ->makeMockResponse ([
0 commit comments