diff --git a/tests/php/Forms/GridField/GridFieldAddNewButtonTest.php b/tests/php/Forms/GridField/GridFieldAddNewButtonTest.php index e538f812d..c0dd6a40c 100644 --- a/tests/php/Forms/GridField/GridFieldAddNewButtonTest.php +++ b/tests/php/Forms/GridField/GridFieldAddNewButtonTest.php @@ -25,18 +25,6 @@ class GridFieldAddNewButtonTest extends SapphireTest Category::class, ]; - public function setUp() - { - parent::setUp(); - Injector::nest(); - } - - public function tearDown() - { - parent::tearDown(); - Injector::unnest(); - } - public function testButtonPassesParentContextToSingletonWhenRelationListIsUsed() { $group = $this->objFromFixture(PeopleGroup::class, 'group');