summaryrefslogtreecommitdiffstats
path: root/tests/parser/ReplaceStatementTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parser/ReplaceStatementTest.php')
-rw-r--r--tests/parser/ReplaceStatementTest.php18
1 files changed, 14 insertions, 4 deletions
diff --git a/tests/parser/ReplaceStatementTest.php b/tests/parser/ReplaceStatementTest.php
index 4366a15..8044a8f 100644
--- a/tests/parser/ReplaceStatementTest.php
+++ b/tests/parser/ReplaceStatementTest.php
@@ -1,15 +1,25 @@
<?php
+namespace SqlParser\Tests\Parser;
+
+use SqlParser\Tests\TestCase;
+
class ReplaceStatementTest extends TestCase
{
- public function testReplace()
+ /**
+ * @dataProvider testReplaceProvider
+ */
+ public function testReplace($test)
{
- $this->runParserTest('parseReplace');
+ $this->runParserTest($test);
}
- public function testReplace2()
+ public function testReplaceProvider()
{
- $this->runParserTest('parseReplace2');
+ return array(
+ array('parseReplace'),
+ array('parseReplace2'),
+ );
}
}