Skip to content

Commit

Permalink
Add TEST_PATH for out of source tests
Browse files Browse the repository at this point in the history
Signed-off-by: William Desportes <williamdes@wdes.fr>
  • Loading branch information
williamdes committed Jan 31, 2023
1 parent b0ac339 commit e11c385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/classes/ConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ public function testCheckConfigSource(): void
$this->assertFalse($this->object->checkConfigSource());
$this->assertEquals(0, $this->object->sourceMtime);

$this->object->setSource(ROOT_PATH . 'test/test_data/config.inc.php');
$this->object->setSource(TEST_PATH . 'test/test_data/config.inc.php');

$this->assertNotEmpty($this->object->getSource());
$this->assertTrue($this->object->checkConfigSource());
Expand Down

0 comments on commit e11c385

Please sign in to comment.