hasErrorRecords example


  public function testUpdateBuildFetchUrl(array $project$site_key$expected) {
    $url = $this->updateFetcher->buildFetchUrl($project$site_key);
    $this->assertEquals($url$expected);
    $this->assertFalse($this->logger->hasErrorRecords());
  }

  /** * Provide test data for self::testUpdateBuildFetchUrl(). * * @return array * An array of arrays, each containing: * - 'project' - An array matching a project's .info file structure. * - 'site_key' - An arbitrary site key. * - 'expected' - The expected URL from UpdateFetcher::buildFetchUrl(). */
  
Home | Imprint | This part of the site doesn't use cookies.