1
0
mirror of https://github.com/xPaw/PHP-Source-Query.git synced 2026-05-18 14:53:33 +02:00

Correct setup

This commit is contained in:
Pavel Djundik
2015-10-21 16:02:06 +03:00
parent a5f54674d0
commit b767c63b7c
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
sudo: false
language: php language: php
php: php:
- 5.5
- 5.6 - 5.6
- hhvm - hhvm
- nightly - nightly
+6 -1
View File
@@ -45,13 +45,18 @@
private $Socket; private $Socket;
private $SourceQuery; private $SourceQuery;
public function setUpBeforeClass() public function setUp()
{ {
$this->Socket = new TestableSocket(); $this->Socket = new TestableSocket();
$this->SourceQuery = new SourceQuery( $this->Socket ); $this->SourceQuery = new SourceQuery( $this->Socket );
$this->SourceQuery->Connect( 1, 2 ); $this->SourceQuery->Connect( 1, 2 );
} }
public function tearDown()
{
$this->SourceQuery->Disconnect();
}
/** /**
* @dataProvider InfoProvider * @dataProvider InfoProvider
*/ */