From 75fbd3420a459e1dc6e55be435e4f19305814c8d Mon Sep 17 00:00:00 2001 From: Vincent Jousse Date: Thu, 21 Nov 2013 20:25:05 +0100 Subject: [PATCH] Fix dummy entry test --- src/Poche/Model/Entry.php | 3 +++ tests/{unit => units}/Entry.php | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) rename tests/{unit => units}/Entry.php (57%) diff --git a/src/Poche/Model/Entry.php b/src/Poche/Model/Entry.php index 6e5f950..33b604c 100644 --- a/src/Poche/Model/Entry.php +++ b/src/Poche/Model/Entry.php @@ -4,6 +4,9 @@ namespace Poche\Model; class Entry { + private $id; + private $title; + public function __construct($id, $title) { $this->id = $id; $this->title = $title; diff --git a/tests/unit/Entry.php b/tests/units/Entry.php similarity index 57% rename from tests/unit/Entry.php rename to tests/units/Entry.php index 329b3b7..451758c 100644 --- a/tests/unit/Entry.php +++ b/tests/units/Entry.php @@ -1,6 +1,6 @@ integer($entry->getId()) - ->isEqualTo('Test') + ->isEqualTo(1) ; } }