Skip to content

Commit

Permalink
Adapt to changed unit test data
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Feb 19, 2019
1 parent ae95a56 commit b4b4528
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function testSearchItems()
$expr[] = $search->compare( '!=', 'price.lists.type.id', null );
$expr[] = $search->compare( '!=', 'price.lists.type.siteid', null );
$expr[] = $search->compare( '==', 'price.lists.type.code', 'default' );
$expr[] = $search->compare( '==', 'price.lists.type.domain', 'customer' );
$expr[] = $search->compare( '==', 'price.lists.type.domain', 'product' );
$expr[] = $search->compare( '==', 'price.lists.type.label', 'Standard' );
$expr[] = $search->compare( '>=', 'price.lists.type.position', 0 );
$expr[] = $search->compare( '==', 'price.lists.type.status', 1 );
Expand All @@ -159,7 +159,7 @@ public function testSearchItems()
$search->setSlice( 0, 1 );
$results = $this->object->searchItems( $search, [], $total );
$this->assertEquals( 1, count( $results ) );
$this->assertEquals( 2, $total );
$this->assertEquals( 1, $total );

foreach( $results as $itemId => $item ) {
$this->assertEquals( $itemId, $item->getId() );
Expand Down

0 comments on commit b4b4528

Please sign in to comment.