Пример #1
0
 public function testDisconnectResetsAuthFlag()
 {
     $this->connection->connect();
     $this->connection->setSessionStatus(true);
     $this->connection->setAuth(true);
     $this->assertTrue($this->connection->getAuth());
     $this->connection->disconnect();
     $this->assertFalse($this->connection->getAuth());
 }