You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/Basic/BestPracticesTest.php
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -24,9 +24,9 @@ public function testImplementFindXpath(): void
24
24
{
25
25
$driver = $this->createDriver();
26
26
27
-
$this->assertNotImplementMethod('find', $driver, 'The driver should overwrite `findElementXpaths` rather than `find` for forward compatibility with Mink 2.');
28
-
$this->assertImplementMethod('findElementXpaths', $driver, 'The driver must be able to find elements.');
29
-
$this->assertNotImplementMethod('setSession', $driver, 'The driver should not deal with the Session directly for forward compatibility with Mink 2.');
27
+
$this->assertMethodIsNotImplemented('find', $driver, 'The driver should overwrite `findElementXpaths` rather than `find` for forward compatibility with Mink 2.');
28
+
$this->assertMethodIsImplemented('findElementXpaths', $driver, 'The driver must be able to find elements.');
29
+
$this->assertMethodIsNotImplemented('setSession', $driver, 'The driver should not deal with the Session directly for forward compatibility with Mink 2.');
30
30
}
31
31
32
32
/**
@@ -36,9 +36,12 @@ public function testImplementBasicApi(string $method): void
36
36
{
37
37
$driver = $this->createDriver();
38
38
39
-
$this->assertImplementMethod($method, $driver, 'The driver is unusable when this method is not implemented.');
39
+
$this->assertMethodIsImplemented($method, $driver, 'The driver is unusable when this method is not implemented.');
0 commit comments