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

Commit 6806bba

Browse files
committed
s/must/should/
1 parent 3b2d0fe commit 6806bba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/LazyServiceIntegrationTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public function testCanUseLazyServiceFactoryFactoryToCreateLazyServiceFactoryToA
143143
$this->assertEquals(['foo' => 'bar'], $options, 'Options returned do not match configuration');
144144

145145
$proxyAutoloadFunctions = $this->getRegisteredProxyAutoloadFunctions();
146-
$this->assertCount(1, $proxyAutoloadFunctions, 'Only 1 proxy autoloader must be registered');
146+
$this->assertCount(1, $proxyAutoloadFunctions, 'Only 1 proxy autoloader should be registered');
147147
}
148148

149149
/**
@@ -217,7 +217,7 @@ public function testWillNotGenerateProxyClassFilesByDefault()
217217
$this->assertEquals(['foo' => 'bar'], $options, 'Options returned do not match configuration');
218218

219219
$proxyAutoloadFunctions = $this->getRegisteredProxyAutoloadFunctions();
220-
$this->assertCount(1, $proxyAutoloadFunctions, 'Only 1 proxy autoloader must be registered');
220+
$this->assertCount(1, $proxyAutoloadFunctions, 'Only 1 proxy autoloader should be registered');
221221
}
222222

223223
public function testOnlyOneProxyAutoloaderItsRegisteredOnSubsequentCalls()
@@ -254,7 +254,7 @@ public function testOnlyOneProxyAutoloaderItsRegisteredOnSubsequentCalls()
254254
);
255255

256256
$proxyAutoloadFunctions = $this->getRegisteredProxyAutoloadFunctions();
257-
$this->assertCount(1, $proxyAutoloadFunctions, 'Only 1 proxy autoloader must be registered');
257+
$this->assertCount(1, $proxyAutoloadFunctions, 'Only 1 proxy autoloader should be registered');
258258
}
259259

260260
public function testRaisesServiceNotFoundExceptionIfRequestedLazyServiceIsNotInClassMap()

test/Proxy/LazyServiceFactoryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function ($className, $initializer) use ($expectedService) {
9191
$result = $initializer($wrappedInstance, $this->getMock(LazyLoadingInterface::class));
9292

9393
$this->assertEquals('fooValue', $wrappedInstance, 'expected callback return value');
94-
$this->assertTrue($result, 'initializer must return true');
94+
$this->assertTrue($result, 'initializer should return true');
9595

9696
return $expectedService;
9797
}

0 commit comments

Comments
 (0)