diff --git a/core/modules/tour/tests/Drupal/tour/Tests/Entity/TourTest.php b/core/modules/tour/tests/Drupal/tour/Tests/Entity/TourTest.php index d62ecc4..2d36050 100644 --- a/core/modules/tour/tests/Drupal/tour/Tests/Entity/TourTest.php +++ b/core/modules/tour/tests/Drupal/tour/Tests/Entity/TourTest.php @@ -10,6 +10,8 @@ /** * Tests the Tour entity. + * + * @group Tour */ class TourTest extends UnitTestCase { @@ -37,7 +39,6 @@ public static function getInfo() { * Expected result. * * @covers \Drupal\tour\Entity\Tour::hasMatchingRoute(). - * @group Tour * @dataProvider routeProvider */ public function testHasMatchingRoute($routes, $route_name, $route_params, $result) { @@ -50,7 +51,7 @@ public function testHasMatchingRoute($routes, $route_name, $route_params, $resul ->method('getRoutes') ->will($this->returnValue($routes)); - $this->assertEquals($result, $tour->hasMatchingRoute($route_name, $route_params)); + $this->assertSame($result, $tour->hasMatchingRoute($route_name, $route_params)); $tour->resetKeyedRoutes(); }