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:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
|
sudo: false
|
||||||
language: php
|
language: php
|
||||||
php:
|
php:
|
||||||
- 5.5
|
|
||||||
- 5.6
|
- 5.6
|
||||||
- hhvm
|
- hhvm
|
||||||
- nightly
|
- nightly
|
||||||
|
|||||||
+6
-1
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user