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) ; } }