Mercurial > hg > isophonics-drupal-site
diff core/modules/locale/tests/src/Functional/LocaleUpdateCronTest.php @ 16:c2387f117808
Routine composer update
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 15:07:59 +0100 |
parents | 1fec387a4317 |
children | af1871eacc83 |
line wrap: on
line diff
--- a/core/modules/locale/tests/src/Functional/LocaleUpdateCronTest.php Thu Apr 26 11:26:54 2018 +0100 +++ b/core/modules/locale/tests/src/Functional/LocaleUpdateCronTest.php Tue Jul 10 15:07:59 2018 +0100 @@ -84,7 +84,7 @@ // Check whether tasks are added to the queue. $queue = \Drupal::queue('locale_translation', TRUE); - $this->assertEqual($queue->numberOfItems(), 3, 'Queue holds tasks for one project.'); + $this->assertEqual($queue->numberOfItems(), 2, 'Queue holds tasks for one project.'); $item = $queue->claimItem(); $queue->releaseItem($item); $this->assertEqual($item->data[1][0], 'contrib_module_two', 'Queue holds tasks for contrib module one.'); @@ -95,7 +95,7 @@ // Check whether no more tasks are added to the queue. $queue = \Drupal::queue('locale_translation', TRUE); - $this->assertEqual($queue->numberOfItems(), 3, 'Queue holds tasks for one project.'); + $this->assertEqual($queue->numberOfItems(), 2, 'Queue holds tasks for one project.'); // Ensure last checked is updated to a greater time than the initial value. sleep(1);