diff --git a/src/Tests/Form/LingotekNodeBulkFormTest.php b/src/Tests/Form/LingotekNodeBulkFormTest.php index 88b8cb6..b7db19a 100644 --- a/src/Tests/Form/LingotekNodeBulkFormTest.php +++ b/src/Tests/Form/LingotekNodeBulkFormTest.php @@ -89,9 +89,11 @@ class LingotekNodeBulkFormTest extends LingotekTestBase { // I can init the upload of content. $this->assertLinkByHref($basepath . '/admin/lingotek/entity/upload/node/11?destination=' . $basepath . '/admin/lingotek/manage/node'); $edit = [ - 'table[11]' => TRUE, // Node 11. - 'table[12]' => TRUE, // Node 12. - 'operation' => 'upload' + // Node 11. + 'table[11]' => TRUE, + // Node 12. + 'table[12]' => TRUE, + 'operation' => 'upload', ]; $this->drupalPostForm(NULL, $edit, t('Execute')); @@ -138,7 +140,8 @@ class LingotekNodeBulkFormTest extends LingotekTestBase { // Assert there is a pager. $this->assertLinkByHref('?page=1'); - // After we filter by automatic, there is no pager and we show the right rows. + // After we filter by automatic profile, there is no pager and the rows + // selected are the ones expected. $edit = [ 'filters[wrapper][profile]' => 'automatic', ]; @@ -149,7 +152,8 @@ class LingotekNodeBulkFormTest extends LingotekTestBase { $this->assertNoLinkByHref('?page=1'); $this->assertNoLink('Llamas are cool 2'); - // After we filter by manual, there is no pager and we show the right rows. + // After we filter by manual profile, there is no pager and the rows + // selected are the ones expected. $edit = [ 'filters[wrapper][profile]' => 'manual', ]; @@ -160,7 +164,8 @@ class LingotekNodeBulkFormTest extends LingotekTestBase { $this->assertNoLink('Page 2'); $this->assertNoLink('Llamas are cool 1'); - // After we filter by disabled, there is no pager and we show the right rows. + // After we filter by disabled profile, there is no pager and the rows + // selected are the ones expected. $edit = [ 'filters[wrapper][profile]' => 'disabled', ];