Skip to content

Commit

Permalink
Update GettersTest.phpt
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleš committed Jun 6, 2017
1 parent d495a84 commit 8e8c8ce
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/tests/GettersTest.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,10 @@ final class GettersTest extends Tester\TestCase
$presenterFactory = $container->getByType("Nette\\Application\\IPresenterFactory");

$presenter = $presenterFactory->createPresenter("Getters");
$cache = $presenter->webLoader->getCache();

Tester\Assert::same(NULL, $presenter->webLoader->getExpiration());
Tester\Assert::true($presenter->webLoader->getDebugMode());
Tester\Assert::false($presenter->webLoader->getProductionMode());
Tester\Assert::same($cache->load("uniqueId"), strlen($presenter->webLoader->getUniqueId()));
Tester\Assert::same(AlesWita\Components\WebLoader\Factory::CACHE_DEFAULT_NAMESPACE, $presenter->webLoader->getCacheNamespace());
Tester\Assert::same(AlesWita\Components\WebLoader\Factory::CACHE_DEFAULT_TAG, $presenter->webLoader->getCacheTag());

Expand Down

0 comments on commit 8e8c8ce

Please sign in to comment.