Skip to content

Commit

Permalink
API Renameator classes valid
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Dec 2, 2024
1 parent 1538b6f commit 2cea9e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/EditableSpamProtectionFieldTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
use SilverStripe\Dev\SapphireTest;
use SilverStripe\Forms\FieldGroup;
use SilverStripe\Forms\Form;
use SilverStripe\Forms\RequiredFields;
use SilverStripe\Forms\RequiredFieldsValidator;
use SilverStripe\Forms\TextField;
use SilverStripe\SpamProtection\EditableSpamProtectionField;
use SilverStripe\SpamProtection\Extension\FormSpamProtectionExtension;
Expand Down Expand Up @@ -134,7 +134,7 @@ protected function getFormMock()
$formMock
->expects($this->any())
->method('getValidator')
->willReturn(new RequiredFields());
->willReturn(new RequiredFieldsValidator());

return $formMock;
}
Expand Down

0 comments on commit 2cea9e6

Please sign in to comment.