Skip to content

Commit

Permalink
remove: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Player626 committed Dec 19, 2020
1 parent 7fe12c4 commit 829d848
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions tests/CoreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,9 @@ function runTest()
return parent::runTest();
}

function testDev()
{
global $argv;
if(in_array('produce',$argv)){
$this->assertEquals(false,Core::getInstance()->isDev());
}else{
$this->assertEquals(true,Core::getInstance()->isDev());
}
}

function testTempDir()
{
$this->assertEquals(EASYSWOOLE_ROOT.'/Temp',EASYSWOOLE_TEMP_DIR);
}

public function testSetIsDev() {
Core::getInstance()->setIsDev(true);
$this->assertTrue(Core::getInstance()->isDev());
}

}

0 comments on commit 829d848

Please sign in to comment.