Skip to content

Commit

Permalink
make test for informal citynames.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasVHG committed Aug 22, 2024
1 parent 1b57a1b commit 48077b1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions test/Widget/RegionServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,19 @@ public function it_will_find_match_the_start_of_a_city_name()
);
}

/**
* @test
*/
public function it_does_not_match_with_informal_names()
{
$this->assertEquals(
[
'nis-24008C' => 'Molenbeek-Wersbeek (Bekkevoort)',
],
$this->regionService->getAutocompletResults('Molenbeek')
);
}

/**
* @test
*/
Expand Down

0 comments on commit 48077b1

Please sign in to comment.