summaryrefslogtreecommitdiff
path: root/tests/unit/Testing/Data
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-06-20 16:49:53 +0000
committerctrlaltca@gmail.com <>2011-06-20 16:49:53 +0000
commita0d269954534e09c0b9c0f73c927b6eb764c21d9 (patch)
tree16dd9eba670fb6cca0e787ce5b715985bcca63b7 /tests/unit/Testing/Data
parent444579affdb1d09813b2be89a59c4f10c8f4ba9b (diff)
some fixes on tests
Diffstat (limited to 'tests/unit/Testing/Data')
-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());
}