Correct setup

pull/94/head
Pavel Djundik 9 years ago
parent a5f54674d0
commit b767c63b7c

@ -1,6 +1,6 @@
sudo: false
language: php language: php
php: php:
- 5.5
- 5.6 - 5.6
- hhvm - hhvm
- nightly - nightly

@ -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
*/ */

Loading…
Cancel
Save