Skip to content
This repository has been archived by the owner on Aug 13, 2019. It is now read-only.

Commit

Permalink
III-1937 Use the default regexp *.json for indexing geoshapes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Luc Wollants committed Mar 6, 2017
1 parent 50eab1d commit bbd2be4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/Operations/IndexGeoShapesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public function it_indexes_all_files_located_in_the_given_path_or_subdirectories
{
$index = 'mock';
$path = __DIR__ . '/data/regions/';
$fileNameRegex = '*.json';

$this->client->expects($this->exactly(3))
->method('index')
Expand Down Expand Up @@ -76,6 +75,6 @@ public function it_indexes_all_files_located_in_the_given_path_or_subdirectories
]
);

$this->operation->run($index, $path, $fileNameRegex);
$this->operation->run($index, $path);
}
}

0 comments on commit bbd2be4

Please sign in to comment.