This commit is contained in:
Fabien Potencier 2019-07-12 09:03:00 +03:00
parent 6f73e62285
commit 03b0284810
3 changed files with 3 additions and 7 deletions

View File

@ -13,8 +13,6 @@ namespace Symfony\Component\Messenger\Event;
use Symfony\Component\Messenger\Envelope;
/**
*/
abstract class AbstractWorkerMessageEvent
{
private $envelope;

View File

@ -11,8 +11,6 @@
namespace Symfony\Component\Messenger\Transport\AmqpExt;
/**
*/
class AmqpFactory
{
public function createConnection(array $credentials): \AMQPConnection

View File

@ -153,7 +153,7 @@ class LdapBindAuthenticationProviderTest extends TestCase
$query
->expects($this->once())
->method('execute')
->will($this->returnValue($collection))
->willReturn($collection)
;
$ldap = $this->getMockBuilder(LdapInterface::class)->getMock();
@ -161,7 +161,7 @@ class LdapBindAuthenticationProviderTest extends TestCase
->expects($this->once())
->method('escape')
->with('foo', '')
->will($this->returnValue('foo'))
->willReturn('foo')
;
$ldap
->expects($this->at(1))
@ -171,7 +171,7 @@ class LdapBindAuthenticationProviderTest extends TestCase
->expects($this->once())
->method('query')
->with('{username}', 'foobar')
->will($this->returnValue($query))
->willReturn($query)
;
$userChecker = $this->getMockBuilder(UserCheckerInterface::class)->getMock();