Skip to content

Commit 30cc317

Browse files
authored
Merge pull request vyuldashev#585 from vyuldashev/l11
laravel 11 test
2 parents 101c1ea + f87aa9d commit 30cc317

File tree

5 files changed

+31
-38
lines changed

5 files changed

+31
-38
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
strategy:
1414
fail-fast: true
1515
matrix:
16-
php: ['8.0', '8.1', '8.2']
17-
stability: ['prefer-lowest', prefer-stable]
18-
laravel: ['^9.0', '^10.0']
16+
php: ['8.1', '8.2', '8.3']
17+
stability: ['prefer-lowest', 'prefer-stable']
18+
laravel: ['^10.0', '^11.0']
1919
exclude:
20-
- php: '8.0'
21-
laravel: '^10.0'
20+
- php: '8.1'
21+
laravel: '^11.0'
2222

2323
name: 'PHP ${{ matrix.php }} - Laravel: ${{matrix.laravel}} - ${{ matrix.stability }}'
2424

@@ -50,4 +50,4 @@ jobs:
5050
run: ./vendor/bin/pint --test
5151

5252
- name: Execute tests
53-
run: sleep 10 && vendor/bin/phpunit --verbose
53+
run: sleep 10 && vendor/bin/phpunit

CHANGELOG-14x.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## [unreleased](https://github.com/vyuldashev/laravel-queue-rabbitmq/compare/v13.3.0...master)
6+
7+
## [14.0.0]
8+
- First release compatible with Laravel 11

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111
"require": {
1212
"php": "^8.0",
1313
"ext-json": "*",
14-
"illuminate/queue": "^9.0|^10.0",
14+
"illuminate/queue": "^10.0|^11.0",
1515
"php-amqplib/php-amqplib": "^v3.6"
1616
},
1717
"require-dev": {
18-
"phpunit/phpunit": "^9.3",
18+
"phpunit/phpunit": "^10.0|^11.0",
1919
"mockery/mockery": "^1.0",
2020
"laravel/horizon": "^5.0",
21-
"orchestra/testbench": "^7.0|^8.0",
21+
"orchestra/testbench": "^7.0|^8.0|^9.0",
2222
"laravel/pint": "^1.2",
23-
"laravel/framework": "^9.0|^10.0"
23+
"laravel/framework": "^9.0|^10.0|^11.0"
2424
},
2525
"autoload": {
2626
"psr-4": {

phpunit.xml.dist

Lines changed: 13 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,15 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" backupStaticAttributes="false"
3-
beStrictAboutTestsThatDoNotTestAnything="false" bootstrap="vendor/autoload.php" colors="true"
4-
convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true"
5-
processIsolation="false" stopOnError="false" stopOnFailure="false" verbose="true"
6-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
7-
<coverage>
8-
<include>
9-
<directory suffix=".php">src/</directory>
10-
</include>
11-
<report>
12-
<html outputDirectory="build/coverage"/>
13-
</report>
14-
</coverage>
15-
<testsuites>
16-
<testsuite name="Package Test Suite">
17-
<directory suffix=".php">./tests/</directory>
18-
</testsuite>
19-
</testsuites>
20-
<php>
21-
<env name="HOST" value="127.0.0.1"/>
22-
<env name="PORT" value="5672"/>
23-
<env name="PORT_SSL" value="5671"/>
24-
<env name="RABBITMQ_SSL_CAFILE" value="./tests/files/rootCA.pem"/>
25-
</php>
26-
<logging/>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" beStrictAboutTestsThatDoNotTestAnything="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnError="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.0/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
3+
<testsuites>
4+
<testsuite name="Package Test Suite">
5+
<directory suffix="Test.php">./tests/</directory>
6+
</testsuite>
7+
</testsuites>
8+
<php>
9+
<env name="HOST" value="127.0.0.1"/>
10+
<env name="PORT" value="5672"/>
11+
<env name="PORT_SSL" value="5671"/>
12+
<env name="RABBITMQ_SSL_CAFILE" value="./tests/files/rootCA.pem"/>
13+
</php>
14+
<logging/>
2715
</phpunit>

tests/Feature/SslQueueTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
use PhpAmqpLib\Connection\AMQPSSLConnection;
66

7-
/**
8-
* @group functional
9-
*/
107
class SslQueueTest extends TestCase
118
{
129
public function setUp(): void

0 commit comments

Comments
 (0)