Skip to content

Commit 15e1eee

Browse files
committed
fix the name of the googleAnalytics method in the test
1 parent 5ae11e1 commit 15e1eee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Unit/AnalyticCookiesCategoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
it('can register Google Analytics configuration', function () {
77
$category = new AnalyticCookiesCategory('foo');
88

9-
expect($category->google('g-foo'))->toBe($category);
9+
expect($category->googleAnalytics('g-foo'))->toBe($category);
1010
expect($group = ($category->getDefined()[0] ?? null))->toBeInstanceOf(CookiesGroup::class);
1111

1212
expect($group->hasConsentCallback())->toBeTrue();

0 commit comments

Comments
 (0)