summaryrefslogtreecommitdiff
path: root/tests/unit/Testing/Data/Analysis/TDbStatementAnalysisParameterTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/Testing/Data/Analysis/TDbStatementAnalysisParameterTest.php')
-rw-r--r--tests/unit/Testing/Data/Analysis/TDbStatementAnalysisParameterTest.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/unit/Testing/Data/Analysis/TDbStatementAnalysisParameterTest.php b/tests/unit/Testing/Data/Analysis/TDbStatementAnalysisParameterTest.php
index 8e070096..d75d5bb5 100644
--- a/tests/unit/Testing/Data/Analysis/TDbStatementAnalysisParameterTest.php
+++ b/tests/unit/Testing/Data/Analysis/TDbStatementAnalysisParameterTest.php
@@ -22,28 +22,28 @@ class TDbStatementAnalysisParameterTest extends PHPUnit_Framework_TestCase
public function testConstruct() {
$this->analyserParameter = new TDbStatementAnalysisParameter();
- self::assertType('string', $this->analyserParameter->getStatement());
+ self::assertInternalType('string', $this->analyserParameter->getStatement());
self::assertEquals('', $this->analyserParameter->getStatement());
self::assertEquals(TDbStatementClassification::UNKNOWN, $this->analyserParameter->getDefaultClassification());
self::assertNull($this->analyserParameter->getDriverName());
$this->analyserParameter = new TDbStatementAnalysisParameter('SELECT 1', TDbStatementClassification::SQL, 'mysql');
- self::assertType('string', $this->analyserParameter->getStatement());
+ self::assertInternalType('string', $this->analyserParameter->getStatement());
self::assertEquals('SELECT 1', $this->analyserParameter->getStatement());
self::assertEquals(TDbStatementClassification::SQL, $this->analyserParameter->getDefaultClassification());
self::assertEquals('mysql', $this->analyserParameter->getDriverName());
}
public function testStatement() {
- self::assertType('string', $this->analyserParameter->getStatement());
+ self::assertInternalType('string', $this->analyserParameter->getStatement());
self::assertEquals('', $this->analyserParameter->getStatement());
$this->analyserParameter->setStatement('SELECT 1');
- self::assertType('string', $this->analyserParameter->getStatement());
+ self::assertInternalType('string', $this->analyserParameter->getStatement());
self::assertEquals('SELECT 1', $this->analyserParameter->getStatement());
$this->analyserParameter->setStatement(null);
- self::assertType('string', $this->analyserParameter->getStatement());
+ self::assertInternalType('string', $this->analyserParameter->getStatement());
self::assertEquals('', $this->analyserParameter->getStatement());
}