Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit 8caf7c2

Browse files
committed
Fixed test names
Had copy-pasta'd from zend-validator; fixed names to reflect this component.
1 parent e98e0b0 commit 8caf7c2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/FormElementManagerFactoryTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function testFactoryConfiguresPluginManagerUnderServiceManagerV2()
7272
$this->assertSame($element, $elements->get('test'));
7373
}
7474

75-
public function testConfiguresValidatorServicesWhenFound()
75+
public function testConfiguresFormElementsServicesWhenFound()
7676
{
7777
$element = $this->prophesize(ElementInterface::class)->reveal();
7878
$config = [
@@ -105,7 +105,7 @@ public function testConfiguresValidatorServicesWhenFound()
105105
$this->assertSame($element, $elements->get('test-too'));
106106
}
107107

108-
public function testDoesNotConfigureValidatorServicesWhenServiceListenerPresent()
108+
public function testDoesNotConfigureFormElementsServicesWhenServiceListenerPresent()
109109
{
110110
$element = $this->prophesize(ElementInterface::class)->reveal();
111111
$config = [
@@ -136,7 +136,7 @@ public function testDoesNotConfigureValidatorServicesWhenServiceListenerPresent(
136136
$this->assertFalse($elements->has('test-too'));
137137
}
138138

139-
public function testDoesNotConfigureValidatorServicesWhenConfigServiceNotPresent()
139+
public function testDoesNotConfigureFormElementsServicesWhenConfigServiceNotPresent()
140140
{
141141
$container = $this->prophesize(ServiceLocatorInterface::class);
142142
$container->willImplement(ContainerInterface::class);
@@ -151,7 +151,7 @@ public function testDoesNotConfigureValidatorServicesWhenConfigServiceNotPresent
151151
$this->assertInstanceOf(FormElementManager::class, $elements);
152152
}
153153

154-
public function testDoesNotConfigureValidatorServicesWhenConfigServiceDoesNotContainValidatorsConfig()
154+
public function testDoesNotConfigureFormElementServicesWhenConfigServiceDoesNotContainFormElementsConfig()
155155
{
156156
$container = $this->prophesize(ServiceLocatorInterface::class);
157157
$container->willImplement(ContainerInterface::class);

0 commit comments

Comments
 (0)