Skip to content

Commit a9543d9

Browse files
committed
Add missing function (requried to implement CookieManagerInterface)
1 parent 430aa19 commit a9543d9

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/Behat/Context/OneTrustCookieManager.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,12 @@ protected function executeOneTrustMethod(Session $session, string $method): void
107107
$session->executeScript("window.OneTrust.{$method}();");
108108
}
109109

110+
/**
111+
* {@inheritdoc}
112+
*/
113+
public function cookiesCategoriesAcceptedStatus(Session $session): array {
114+
throw new \InvalidArgumentException(
115+
'Category cookies acceptance status not available for OneTrust cookie manager'
116+
);
117+
}
110118
}

0 commit comments

Comments
 (0)