setUpdateFile() public method

Set the update filename.
public setUpdateFile ( string $updateFile )
$updateFile string
コード例 #1
0
 /**
  * Ensure that no new master version is available
  */
 public function testBranchMaster()
 {
     $this->_update->setUpdateFile('noUpdateAvailable.json');
     $this->_update->setBranch('master');
     $response = $this->_update->checkUpdate();
     $this->assertEquals(AutoUpdate::NO_UPDATE_AVAILABLE, $response);
 }