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 5, 2017
1 parent 8c62ee2 commit 393026f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/tests/GettersTest.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ final class GettersTest extends Tester\TestCase
Tester\Assert::true($presenter->webLoader->getCssLoader() instanceof AlesWita\Components\WebLoader\Loader\Css);
Tester\Assert::true($presenter->webLoader->getJsLoader() instanceof AlesWita\Components\WebLoader\Loader\Js);
}

/**
* @return void
*/
Expand All @@ -107,6 +108,22 @@ final class GettersTest extends Tester\TestCase
Tester\Assert::same(NULL, $presenter->webLoader->getExpiration());
Tester\Assert::true($presenter->webLoader->getDebugMode());
Tester\Assert::false($presenter->webLoader->getProductionMode());
Tester\Assert::same(AlesWita\Components\WebLoader::CACHE_DEFAULT_NAMESPACE, $presenter->webLoader->getCacheNamespace());


$cssFiles = $presenter->webLoader->getCssFiles();

//Tester\Assert::count(0, $cssFiles);


$jsFiles = $presenter->webLoader->getJsFiles();

Tester\Assert::count(0, $jsFiles);


$otherFiles = $presenter->webLoader->getOtherFiles();

Tester\Assert::count(0, $otherFiles);
}
}

Expand Down

0 comments on commit 393026f

Please sign in to comment.