Skip to content

Commit

Permalink
Removed the duplicated original and commented out test
Browse files Browse the repository at this point in the history
  • Loading branch information
flap152 committed Jan 7, 2025
1 parent 3c9ae12 commit 4389cf4
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions tests/Unit/MakesAssertionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 4389cf4

Please sign in to comment.