Skip to content

Commit

Permalink
Fix substring search after subproject->cohort change, add debug for o…
Browse files Browse the repository at this point in the history
…the failing test
  • Loading branch information
driusan committed Nov 15, 2023
1 parent 1427b5f commit 1b2ad6f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@ function testCohortMatches()
$this->assertMatchOne($result, "123456");

$result = $this->engine->getCandidateMatches(
new QueryTerm($candiddict, new Substring("proj"))
new QueryTerm($candiddict, new Substring("hor"))
);
$this->assertMatchOne($result, "123456");

Expand Down Expand Up @@ -1591,6 +1591,7 @@ function testGetCandidateData()
)
);
$this->assertEquals(count($results), 1);
var_dump($results);
$this->assertEquals(
$results,
[
Expand Down

0 comments on commit 1b2ad6f

Please sign in to comment.