Unverified Commit 01b2e5a4 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3155760 by Hardik_Patel_12: Replace assertions involving calls to...

Issue #3155760 by Hardik_Patel_12: Replace assertions involving calls to array_key_exists() with assertArrayHasKey()
parent 50e58a9f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -314,7 +314,7 @@ public function testGetAllRoutes() {
    $this->assertEqual($expected_route_count, count($returned_routes));

    foreach ($returned_routes as $route_name => $route) {
      $this->assertTrue(array_key_exists($route_name, $sample_routes));
      $this->assertArrayHasKey($route_name, $sample_routes);
      $this->assertEquals($route->getPath(), $sample_routes[$route_name]['path']);
    }
  }