Skip to content

Commit fbdf9ca

Browse files
author
Jukka Svahn
committed
Removing and checking the wrong file.
1 parent 3c4dfae commit fbdf9ca

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

tests/Rah/Danpu/Test/Config/Extending/ExtendingTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ public function __construct()
2020
class ExtendingTest extends \PHPUnit_Framework_TestCase
2121
{
2222
private $dump;
23-
private $temp;
2423

2524
public function setUp()
2625
{
@@ -30,8 +29,8 @@ public function setUp()
3029

3130
public function testExtending()
3231
{
33-
new Export(new MyConfig());
34-
return file_exists($this->temp);
32+
new Export($this->dump);
33+
return file_exists($this->dump->file);
3534
}
3635

3736
public function tearDown()

0 commit comments

Comments
 (0)