ssi-anik / amqp

php-amqplib wrapper that eases the consumption of RabbitMQ. A painless way of using RabbitMQ
https://packagist.org/packages/anik/amqp
MIT License
134 stars 23 forks source link

Testing in Laravel #15

Closed stefnats closed 3 years ago

stefnats commented 3 years ago

Hey,

is there a way i can use this library in my feature tests in Laravel just like Queue::fake()? If not, are there plans to implement it?

Thanks for your easy-to-use wrapper :)

ssi-anik commented 3 years ago

Hi, Thanks for the appreciation. Firstly, no you can't use anything like Queue::fake yet. I barely write tests, cause I lack this knowledge. It's still in my plan but don't know when I can complete this. But I'd like to request, if you're good at it, please send a PR and I'd be happy to merge.

Thanks.

stefnats commented 2 years ago

Almost a year later, i made the PR :)