Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
katarzynazawada committed May 16, 2024
1 parent d7b4fca commit a4fec3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Browser/Element/Assert/CollectionAssertTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function testAssertionPasses(array $expectedElementTexts, array $actualEl
$collectionAssert = new CollectionAssert($this->locator, $collection);
$returnedCollection = $collectionAssert->containsElementsWithText($expectedElementTexts);

$this->assertSame($collection, $returnedCollection);
self::assertSame($collection, $returnedCollection);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private function createChildElement(bool $hasStartedTransition, bool $hasEndedTr
{
$childElement = $this->createStub(ElementInterface::class);
$childElement->method('getText')->willReturn('ChildText');
$childElement->method('hasClass')->will($this->returnValueMap(
$childElement->method('hasClass')->will(self::returnValueMap(
[
['ibexa-selenium-transition-started', $hasStartedTransition],
['ibexa-selenium-transition-ended', $hasEndedTransition],
Expand Down

0 comments on commit a4fec3a

Please sign in to comment.