Skip to content
This repository has been archived by the owner on Apr 11, 2018. It is now read-only.

Commit

Permalink
removed thumbnail and main image
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyquinton committed Aug 22, 2014
1 parent a459750 commit 3df29a4
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions tests/OpgTest/Core/Model/Entity/CaseItem/Page/PageTest.php
Expand Up @@ -16,8 +16,7 @@ class PageTest extends PHPUnit_Framework_TestCase
'id' => 123,
'pageNumber' => 1,
'document' => null,
'thumbnail' => 'http://thumbnail.abc.com',
'main' => 'http://main.abc.com',
'uri' => '',
'text' => 'testtext',
'errorMessages' => array()
);
Expand Down Expand Up @@ -61,18 +60,11 @@ public function testGetSetPageNumber()
$this->assertEquals($this->data['pageNumber'], $this->page->getPageNumber());
}

public function testGetSetThumbernail()
public function testGetSetUri()
{
$this->page->setThumbnail($this->data['thumbnail']);
$this->page->setUri($this->data['uri']);

$this->assertEquals($this->data['thumbnail'], $this->page->getThumbnail());
}

public function testGetSetMain()
{
$this->page->setMain($this->data['main']);

$this->assertEquals($this->data['main'], $this->page->getMain());
$this->assertEquals($this->data['uri'], $this->page->getUri());
}

public function testGetSetText()
Expand Down

0 comments on commit 3df29a4

Please sign in to comment.