Resolve #3419621 "Typeerror inarray argument 11"
1 open thread
Closes #3419621
Merge request reports
Activity
added 1 commit
60 [ 61 ClaroPreRender::class, 62 'tablePositionSticky', 63 ], 64 ], 65 ]; 66 67 try { 68 $renderedTable = \Drupal::service('renderer')->renderRoot($table); 69 70 // Confirm that table is rendered. 71 $this->assertStringContainsString('class="class"', $renderedTable); 72 } 73 catch (\Error $e) { 74 $this->fail('PHP Error was thrown.'); 75 } - Comment on lines +67 to +75
67 try { 68 $renderedTable = \Drupal::service('renderer')->renderRoot($table); 69 70 // Confirm that table is rendered. 71 $this->assertStringContainsString('class="class"', $renderedTable); 72 } 73 catch (\Error $e) { 74 $this->fail('PHP Error was thrown.'); 75 } 67 $renderedTable = \Drupal::service('renderer')->renderRoot($table); 68 69 // Confirm that table is rendered. 70 $this->assertStringContainsString('class="class"', $renderedTable); There's no need to catch the error - the test will fail if an exception is thrown or an error is triggered.
changed this line in version 4 of the diff
- Resolved by Dmitry Buriak
added 552 commits
-
df310f33...c0a39c90 - 551 commits from branch
project:11.x
- f1bb518d - Merge branch '11.x' of git.drupal.org:project/drupal into 3419621-typeerror-inarray-argument-11
-
df310f33...c0a39c90 - 551 commits from branch
Please register or sign in to reply