예제 #1
0
파일: DojoTest.php 프로젝트: jsnshrmn/Suma
 public function testCallingAUseMethodShouldEnableHelper()
 {
     $this->testShouldBeDisabledByDefault();
     $this->helper->setCdnVersion('1.0');
     $this->assertTrue($this->helper->isEnabled());
     $this->helper->disable();
     $this->assertFalse($this->helper->isEnabled());
     $this->helper->setLocalPath('/js/dojo/dojo.js');
     $this->assertTrue($this->helper->isEnabled());
 }