Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Roumen Damianoff committed Dec 17, 2015
1 parent 7250e45 commit 3a60bbf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/SitemapTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,16 @@ public function testSitemapAttributes()
$this->sitemap->model->setUseCache(true);
$this->sitemap->model->setCacheKey('lv-sitemap');
$this->sitemap->model->setCacheDuration(72000);
$this->sitemap->model->setEscaping(false);
$this->sitemap->model->setUseLimitSize(true);

$this->assertEquals('TestLink', $this->sitemap->model->getLink());
$this->assertEquals('TestTitle', $this->sitemap->model->getTitle());
$this->assertEquals(true, $this->sitemap->model->getUseCache());
$this->assertEquals('lv-sitemap', $this->sitemap->model->getCacheKey());
$this->assertEquals(72000, $this->sitemap->model->getCacheDuration());
$this->assertEquals(false, $this->sitemap->model->getEscaping());
$this->assertEquals(true, $this->sitemap->model->getUseLimitSize());
}

public function testSitemapRender()
Expand Down

0 comments on commit 3a60bbf

Please sign in to comment.