diff --git a/config.rabbitmq.yaml b/config.rabbitmq.yaml new file mode 100644 index 0000000..efe6835 --- /dev/null +++ b/config.rabbitmq.yaml @@ -0,0 +1,2 @@ +#ddev-generated +webimage_extra_packages: ["php${DDEV_PHP_VERSION}-amqp"] diff --git a/install.yaml b/install.yaml index a61f777..248636b 100644 --- a/install.yaml +++ b/install.yaml @@ -3,6 +3,7 @@ name: rabbitmq project_files: - docker-compose.rabbitmq.yaml + - config.rabbitmq.yaml - commands/rabbitmq/ - rabbitmq/config.yaml - rabbitmq/schema.json diff --git a/tests/test.bats b/tests/test.bats index a29f8b5..5394c05 100644 --- a/tests/test.bats +++ b/tests/test.bats @@ -61,6 +61,12 @@ setup() { [[ $output == *"Virtual host 'ddev-vhost' does not"* ]] } +@test "See php amqp module loaded" { + run ddev exec "php -m | grep amqp" + + [[ $output == "amqp" ]] +} + @test "Remove addon - see files removed" { ddev get --remove rabbitmq