Commit d1348641 authored by peter279k's avatar peter279k

Resolves issue#718

parent 8f21130c
......@@ -2,7 +2,6 @@ language: php
matrix:
include:
- php: 5.6
- php: 7.0
- php: 7.1
- php: 7.2
......
......@@ -29,13 +29,13 @@
}
],
"require": {
"php": ">=5.6",
"php": ">=7.0",
"ext-bcmath": "*",
"ext-sockets": "*"
},
"require-dev": {
"ext-curl": "*",
"phpunit/phpunit": "^4.8|^5.7",
"phpunit/phpunit": "^6.5|^7.0",
"squizlabs/php_codesniffer": "^2.5",
"phpdocumentor/phpdocumentor": "^2.9",
"nategood/httpful": "^0.2.20"
......
......@@ -11,10 +11,10 @@
stopOnFailure="false">
<testsuites>
<testsuite name="Unit Tests">
<directory suffix="Test.php" phpVersion="5.3.0" phpVersionOperator=">=">tests/Unit</directory>
<directory suffix="Test.php" phpVersion="7.0.0" phpVersionOperator=">=">tests/Unit</directory>
</testsuite>
<testsuite name="Functional Tests">
<directory suffix="Test.php" phpVersion="5.3.0" phpVersionOperator=">=">tests/Functional</directory>
<directory suffix="Test.php" phpVersion="7.0.0" phpVersionOperator=">=">tests/Functional</directory>
</testsuite>
</testsuites>
<filter>
......
......@@ -69,7 +69,7 @@ class DirectExchangeTest extends ChannelTestCase
$this->assertEquals($this->message->properties['content_type'], $msg->get('content_type'));
$this->assertEquals($this->message->properties['correlation_id'], $msg->get('correlation_id'));
$this->assertEquals($this->message->properties['reply_to'], $msg->get('reply_to'));
$this->setExpectedException('OutOfBoundsException');
$this->expectException('OutOfBoundsException');
$msg->get('no_property');
};
......
......@@ -58,7 +58,7 @@ class AMQPMessageTest extends TestCase
$this->assertEquals(1231, $message->getDeliveryTag());
unset($message->delivery_info['delivery_tag']);
$this->setExpectedException('\PhpAmqpLib\Exception\AMQPEmptyDeliveryTagException');
$this->expectException('\PhpAmqpLib\Exception\AMQPEmptyDeliveryTagException');
$message->getDeliveryTag();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment