Skip to content

Commit 5bdbfd4

Browse files
author
Christian Boenning
committed
Move Tests outside php-amqplib/PhpAmqpLib/
This should fix Issue php-amqplib#130
1 parent d2b8a29 commit 5bdbfd4

19 files changed

+8
-8
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
test:
2-
phpunit
2+
vendor/bin/phpunit
33
.PHONY: benchmark
44
benchmark:
55
@echo "Publishing 4000 msgs with 1KB of content:"

PhpAmqpLib/Tests/bootstrap.php

-4
This file was deleted.
File renamed without changes.

Tests/bootstrap.php

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?php
2+
3+
require_once __DIR__ . '/../vendor/autoload.php';
4+
require_once __DIR__ . '/config.php';
File renamed without changes.

phpunit.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
<phpunit bootstrap="PhpAmqpLib/Tests/bootstrap.php" colors="true">
1+
<phpunit bootstrap="tests/bootstrap.php" colors="true">
22
<testsuites>
33
<testsuite name="Unit Tests">
4-
<directory suffix="Test.php" phpVersion="5.3.0" phpVersionOperator=">=">PhpAmqpLib/Tests/Unit</directory>
4+
<directory suffix="Test.php" phpVersion="5.3.0" phpVersionOperator=">=">tests/Unit</directory>
55
</testsuite>
66
<testsuite name="Functional Tests">
7-
<directory suffix="Test.php" phpVersion="5.3.0" phpVersionOperator=">=">PhpAmqpLib/Tests/Functional</directory>
7+
<directory suffix="Test.php" phpVersion="5.3.0" phpVersionOperator=">=">tests/Functional</directory>
88
</testsuite>
99
</testsuites>
1010
</phpunit>

0 commit comments

Comments
 (0)