From 712632be01e1ef05bd474b8b8a7952f651b3476c Mon Sep 17 00:00:00 2001 From: Joel Uckelman Date: Mon, 27 Feb 2012 06:26:13 +0100 Subject: Satisfy phpunit about incomplete tests. --- test/PhpBB3ImplTest.php | 2 ++ test/PhpBB3MessageTest.php | 6 ++++++ 2 files changed, 8 insertions(+) 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()); } -- cgit v1.2.3