Skip to content

Commit

Permalink
Fix fragile unit test (may break if /tmp/skosmos-template-cache exist…
Browse files Browse the repository at this point in the history
…s but is owned by another user)
  • Loading branch information
osma committed Oct 5, 2018
1 parent 0e8ed3e commit 27e53ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/GlobalConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function testGetLoggingFilename()

public function testGetTemplateCache()
{
$this->assertEquals("/tmp/skosmos-template-cache/tests", $this->config->getTemplateCache());
$this->assertEquals("/tmp/skosmos-template-cache-tests", $this->config->getTemplateCache());
}

public function testGetCustomCss()
Expand Down
2 changes: 1 addition & 1 deletion tests/testconfig.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
# set to a logfile path to enable logging into log file
skosmos:logFileName "/tmp/test_skosmos.log" ;
# a default location for Twig template rendering
skosmos:templateCache "/tmp/skosmos-template-cache/tests" ;
skosmos:templateCache "/tmp/skosmos-template-cache-tests" ;
# customize the css by adding your own stylesheet
skosmos:customCss "resource/css/tests-stylesheet.css" ;
# default email address where to send the feedback
Expand Down

0 comments on commit 27e53ed

Please sign in to comment.