Exemple #1
0
 /**
  * @test
  */
 public function selectReturnsMySqliResult()
 {
     self::assertInstanceOf('mysqli_result', \Tx_Phpunit_Service_Database::select('title', 'tx_phpunit_test'));
 }
 /**
  * @test
  */
 public function selectMySqliResult()
 {
     if (t3lib_utility_VersionNumber::convertVersionNumberToInteger(TYPO3_version) < 6001000) {
         $this->markTestSkipped('This test is available in TYPO3 6.1 and above.');
     }
     $this->assertInstanceOf('mysqli_result', Tx_Phpunit_Service_Database::select('title', 'tx_phpunit_test'));
 }