7/7 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ ----------------------------------------------------------------------------------- 
  Line   tests/src/Kernel/EasyBreadcrumbBuilderTest.php                                     
 ------ ----------------------------------------------------------------------------------- 
  105    Call to deprecated method assertInternalType() of class PHPUnit\Framework\Assert:  
         https://github.com/sebastianbergmann/phpunit/issues/3369                           
 ------ ----------------------------------------------------------------------------------- 

                                                                                                                        
 [ERROR] Found 1 error      

Comments

Sahana _N created an issue. See original summary.

sahana _n’s picture

Status: Active » Needs review
StatusFileSize
new668 bytes

please review the patch.

renatog’s picture

Status: Needs review » Needs work

Thanks for your help.

But the test was failed

1) Drupal\Tests\easy_breadcrumb\Kernel\EasyBreadcrumbBuilderTest::testGetTitleString with data set #0 ('easy_breadcrumb_test.title_string')
Error: Call to undefined method Drupal\Tests\easy_breadcrumb\Kernel\EasyBreadcrumbBuilderTest::assertIsString()

Please, can you provide a new patch with the solution?

deaom’s picture

Status: Needs work » Needs review
StatusFileSize
new674 bytes

Hi, it's not that the method is not the correct way, but currently jenkins is testing with the 6.5 version in which assertIsString() method does not yet exist, so that is why test fails.
I changed the method to one that should work with 6.5 and also 7.5 version.

renatog’s picture

Status: Needs review » Reviewed & tested by the community

really works well now

Thanks a lot

lisa.rae’s picture

Title: assertInternalType() is deprecated » Drupal 9 Deprecated Code
Issue tags: +Drupal 9 compatibility

neslee canil pinto’s picture

Status: Reviewed & tested by the community » Fixed

Committed, Thanks Everyone.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.