From 4389cf4d4d32385b1e2c6163505a28092a85875c Mon Sep 17 00:00:00 2001 From: flap152 Date: Mon, 6 Jan 2025 20:04:54 -0500 Subject: [PATCH] Removed the duplicated original and commented out test --- tests/Unit/MakesAssertionsTest.php | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/tests/Unit/MakesAssertionsTest.php b/tests/Unit/MakesAssertionsTest.php index 9bc66c703..592fb1939 100644 --- a/tests/Unit/MakesAssertionsTest.php +++ b/tests/Unit/MakesAssertionsTest.php @@ -1346,33 +1346,7 @@ public function test_assert_dont_see() } } -// public function test_assert_see_in() -// { -// $driver = m::mock(stdClass::class); -// -// $element = m::mock(stdClass::class); -// $element->shouldReceive('getText')->andReturn('foo'); -// -// $resolver = m::mock(stdClass::class); -// $resolver->shouldReceive('format')->with('foo')->andReturn('body foo'); - //// $resolver->shouldReceive('findOrFail')->with('foo')->andReturn($element); -// $resolver->shouldReceive('elements')->with('body foo')->andReturn([$element]); -// -// $browser = new Browser($driver, $resolver); -// -// $browser->assertSeeIn('foo', 'foo'); -// -// try { -// $browser->assertSeeIn('foo', 'bar'); -// } catch (ExpectationFailedException $e) { -// $this->assertStringContainsString( -// 'Did not see expected text [bar] within element [body foo].', -// $e->getMessage() -// ); -// } -// } - - public function test_assert_see_in__multiple_elements_version() + public function test_assert_see_in() { $driver = m::mock(stdClass::class);