[Lunr.Locator] Tests: Stop treating parameter getType as string

Review Request #868 — Created Sept. 14, 2022 and submitted

smillernl
Lunr.Locator
fix/php81/getType
864
884
lunr
Tests: Stop treating parameter getType as string

CI at https://github.com/M2mobi/lunr.locator/pull/5

  • 0
  • 0
  • 0
  • 1
  • 1
Description From Last Updated
pprkut
  1. 
      
  2. src/Lunr/Core/Tests/ConfigServiceLocatorBaseTest.php (Diff revision 1)
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     

    That's a valid test though, that you're not really replacing.

    All we need is a PHP version specific expectExceptionMessageMatches

    1. It's a valid test for PHP internals, I don't think checking if parameter types work is up to us.

  3. 
      
pprkut
  1. Ship It!
  2. 
      
smillernl
Review request changed

Status: Closed (submitted)

Loading...