Skip to content

Commit a3145b5

Browse files
Fix
1 parent f7fc203 commit a3145b5

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/Admin/Filter/CategoryFilterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ final class CategoryFilterTest extends TestCase
3030

3131
protected function setUp(): void
3232
{
33-
$this->categoryManager = $this->createStub(CategoryManagerInterface::class);
33+
$this->categoryManager = static::createStub(CategoryManagerInterface::class);
3434
}
3535

3636
public function testRenderSettings(): void

tests/Admin/Filter/CollectionFilterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ final class CollectionFilterTest extends TestCase
2828

2929
protected function setUp(): void
3030
{
31-
$this->collectionManager = $this->createStub(CollectionManagerInterface::class);
31+
$this->collectionManager = static::createStub(CollectionManagerInterface::class);
3232
}
3333

3434
public function testRenderSettings(): void

tests/Form/Type/CategorySelectorTypeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ final class CategorySelectorTypeTest extends TestCase
2626
{
2727
public function testConfigureOptions(): void
2828
{
29-
$manager = $this->createStub(CategoryManagerInterface::class);
29+
$manager = static::createStub(CategoryManagerInterface::class);
3030
$categorySelectorType = new CategorySelectorType($manager);
3131
$optionsResolver = new OptionsResolver();
3232
$categorySelectorType->configureOptions($optionsResolver);

0 commit comments

Comments
 (0)