Skip to content

Commit

Permalink
Don't test on older PHP versions
Browse files Browse the repository at this point in the history
  • Loading branch information
A5hleyRich committed Oct 8, 2017
1 parent ac522a4 commit 86f5a94
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
dist: precise

language: php

php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
]
},
"require-dev": {
"phpunit/phpunit": "~4.8.0",
"phpunit/phpunit": "~5.7.0",
"10up/wp_mock": "0.2.0"
}
}
4 changes: 2 additions & 2 deletions tests/TestQueueManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function setUp() {
WP_Mock::setUp();

global $wpdb;
$wpdb = Mockery::mock( 'WPDB' );
$wpdb = Mockery::mock( 'WPDB' );
$wpdb->prefix = 'wp_';
}

Expand All @@ -27,7 +27,7 @@ public function test_resolve() {
}

public function test_resolve_exception() {
$this->setExpectedException( ConnectionNotFoundException::class);
$this->expectException( ConnectionNotFoundException::class );
QueueManager::resolve( 'wibble' );
}
}

0 comments on commit 86f5a94

Please sign in to comment.