1
0
mirror of https://github.com/xPaw/PHP-Source-Query.git synced 2026-05-18 13:03:34 +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
+6 -1
View File
@@ -45,13 +45,18 @@
private $Socket;
private $SourceQuery;
public function setUpBeforeClass()
public function setUp()
{
$this->Socket = new TestableSocket();
$this->SourceQuery = new SourceQuery( $this->Socket );
$this->SourceQuery->Connect( 1, 2 );
}
public function tearDown()
{
$this->SourceQuery->Disconnect();
}
/**
* @dataProvider InfoProvider
*/