summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Uckelman <uckelman@nomic.net>2012-02-27 06:26:13 +0100
committerJoel Uckelman <uckelman@nomic.net>2012-02-27 06:26:13 +0100
commit712632be01e1ef05bd474b8b8a7952f651b3476c (patch)
treed939d65aa47a5c5ff692eae54c253dd9d01a3178
parent9fd68c047d293e98f7b3ff51e5fe5eb8c0fd2738 (diff)
Satisfy phpunit about incomplete tests.
-rw-r--r--test/PhpBB3ImplTest.php2
-rw-r--r--test/PhpBB3MessageTest.php6
2 files changed, 8 insertions, 0 deletions
diff --git a/test/PhpBB3ImplTest.php b/test/PhpBB3ImplTest.php
index 64b11f6..d79f55c 100644
--- a/test/PhpBB3ImplTest.php
+++ b/test/PhpBB3ImplTest.php
@@ -150,6 +150,7 @@ EOF;
public function providerGetPostTime() {
return array(
+ array()
);
}
@@ -166,6 +167,7 @@ EOF;
public function providerGetAttachmentData() {
return array(
+ array()
);
}
}
diff --git a/test/PhpBB3MessageTest.php b/test/PhpBB3MessageTest.php
index 1c5b04c..b9286f3 100644
--- a/test/PhpBB3MessageTest.php
+++ b/test/PhpBB3MessageTest.php
@@ -24,6 +24,7 @@ class PhpBB3MessageTest extends PHPUnit_Framework_TestCase {
public function provider() {
return array(
+ array(null)
/*
array(array(
'data' => '',
@@ -62,6 +63,7 @@ class PhpBB3MessageTest extends PHPUnit_Framework_TestCase {
* @dataProvider provider
*/
public function testGetFrom($expected) {
+ $this->markTestIncomplete();
$msg = $this->buildMessage($expected);
$this->assertEquals($expected['from'], $msg->getFrom());
}
@@ -70,6 +72,7 @@ class PhpBB3MessageTest extends PHPUnit_Framework_TestCase {
* @dataProvider provider
*/
public function testGetSubject($expected) {
+ $this->markTestIncomplete();
$msg = $this->buildMessage($expected);
$this->assertEquals($expected['subject'], $msg->getSubject());
}
@@ -78,6 +81,7 @@ class PhpBB3MessageTest extends PHPUnit_Framework_TestCase {
* @dataProvider provider
*/
public function testGetMessageId($expected) {
+ $this->markTestIncomplete();
$msg = $this->buildMessage($expected);
$this->assertEquals($expected['message_id'], $msg->getMessageId());
}
@@ -86,6 +90,7 @@ class PhpBB3MessageTest extends PHPUnit_Framework_TestCase {
* @dataProvider provider
*/
public function testGetInReplyTo($expected) {
+ $this->markTestIncomplete();
$msg = $this->buildMessage($expected);
$this->assertEquals($expected['in_reply_to'], $msg->getInReplyTo());
}
@@ -94,6 +99,7 @@ class PhpBB3MessageTest extends PHPUnit_Framework_TestCase {
* @dataProvider provider
*/
public function testGetReferences($expected) {
+ $this->markTestIncomplete();
$msg = $this->buildMessage($expected);
$this->assertEquals($expected['references'], $msg->getReferences());
}