Skip to content
Snippets Groups Projects

Issue #3217717: Replace usages of the at() matcher, that is deprecated

Closed mondrake requested to merge issue/drupal-3217717:3217717-replace-usages-of into 9.3.x
Files
50
@@ -87,14 +87,14 @@ public function testSettingsForm() {
->setMethods(['buildConfigurationForm', 'validateConfigurationForm', 'submitConfigurationForm'])
->setConstructorArgs([[], 'aggregator_test', ['description' => ''], $this->configFactory])
->getMock();
$test_processor->expects($this->at(0))
$test_processor->expects($this->once())
->method('buildConfigurationForm')
->with($this->anything(), $form_state)
->will($this->returnArgument(0));
$test_processor->expects($this->at(1))
$test_processor->expects($this->once())
->method('validateConfigurationForm')
->with($this->anything(), $form_state);
$test_processor->expects($this->at(2))
$test_processor->expects($this->once())
->method('submitConfigurationForm')
->with($this->anything(), $form_state);
Loading