Skip to content
Snippets Groups Projects

Update test assertions.

Merged catch requested to merge issue/drupal_cms-3497996:3497996-coffee-test-update into 1.x
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -86,12 +86,12 @@ class PerformanceTest extends PerformanceTestBase {
// @todo assert individual queries once Coffee does not result in an
// additional AJAX request on every request.
// @see https://www.drupal.org/project/coffee/issues/2453585
$this->assertSame(44, $performance_data->getQueryCount());
$this->assertSame(188, $performance_data->getCacheGetCount());
$this->assertSame(11, $performance_data->getQueryCount());
$this->assertSame(111, $performance_data->getCacheGetCount());
$this->assertSame(0, $performance_data->getCacheSetCount());
$this->assertSame(0, $performance_data->getCacheDeleteCount());
$this->assertSame(0, $performance_data->getCacheTagChecksumCount());
$this->assertSame(83, $performance_data->getCacheTagIsValidCount());
$this->assertSame(33, $performance_data->getCacheTagIsValidCount());
$this->assertSame(0, $performance_data->getCacheTagInvalidationCount());
$this->assertSame(3, $performance_data->getStylesheetCount());
$this->assertSame(3, $performance_data->getScriptCount());
Loading