Skip to content

Commit

Permalink
Add test allforms to QueryTest
Browse files Browse the repository at this point in the history
  • Loading branch information
alhoqbani committed Jul 11, 2017
1 parent 29200bb commit 78d2296
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/Arabic/QueryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,11 @@ public function it_return_the_order_by_clause_based_on_search_term()
$this->query->getOrderBy('البحث "عن مخرجات" جيدة'));
}

/** @test */
public function it_return_all_forms_of_search_term()
{
$this->assertEquals('البحث بحث "عن مخرجات" جيدة جيد جيده جيدت جيدات',
$this->query->allForms('البحث "عن مخرجات" جيدة'));
}

}

0 comments on commit 78d2296

Please sign in to comment.