commit 1b2c0f3ffaebc2ffa65ff34f4e6e5161d11e74c9 Author: Erik Stielstra Date: Mon Jun 17 22:15:37 2013 +0200 #33 diff --git a/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateCronTest.php b/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateCronTest.php index d71cc7f..2f7bb3a 100644 --- a/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateCronTest.php +++ b/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateCronTest.php @@ -95,8 +95,8 @@ function testUpdateCron() { // Check whether tasks are added to the queue. $queue = \Drupal::queue('locale_translation', TRUE); - // @todo Make follow-up issue: Mask the 'drupal' project so it will not show up in this test. When fixed, we expect only 3 tasks in the queue. - //$this->assertEqual($queue->numberOfItems(), 3, 'Queue holds tasks for one project.'); + // @todo Make sure 'drupal' project will not show up in list of projects. + // Follow-up issue: https://drupal.org/node/2021749 $this->assertEqual($queue->numberOfItems(), 6, 'Queue holds tasks for two projects.'); $item = $queue->claimItem(); $queue->releaseItem($item); @@ -108,8 +108,6 @@ function testUpdateCron() { // Check whether no more tasks are added to the queue. $queue = \Drupal::queue('locale_translation', TRUE); - // @todo Make follow-up issue: Mask the 'drupal' project so it will not show up in this test. When fixed, we expect only 3 tasks in the queue. - //$this->assertEqual($queue->numberOfItems(), 3, 'Queue holds tasks for one project.'); $this->assertEqual($queue->numberOfItems(), 6, 'Queue holds tasks for two projects.'); // Test: Execute cron and check if tasks are executed correctly.