Ejemplo n.º 1
0
 /**
  * wrong idsite => exception
  */
 public function test_addSiteUrls_wrongIdSite2()
 {
     $toAdd = array("http://pigeq.com/test");
     try {
         $insertedUrls = Piwik_SitesManager_API::addSiteAliasUrls(155, $toAdd);
     } catch (Exception $expected) {
         return;
     }
     $this->fail("Exception not raised.");
 }