Exemplo n.º 1
0
 public function indexAction()
 {
     $this->view->config = Zend_Registry::get('config');
     $this->view->available_version = USVN_Update::getUSVNAvailableVersion();
 }
Exemplo n.º 2
0
 public function test_updateUSVNAvailableVersionNumber()
 {
     USVN_Update::updateUSVNAvailableVersionNumber();
     $this->assertEquals("1.0.1", USVN_Update::getUSVNAvailableVersion());
     $config = Zend_Registry::get('config');
     $this->assertNotEquals(0, $config->update->lastcheckforupdate);
 }