Skip to content

Commit

Permalink
Fix assertNull instead of assertEquals
Browse files Browse the repository at this point in the history
  • Loading branch information
maghamed committed Mar 28, 2018
1 parent eec3d09 commit 40a2beb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ public function testGetStockItemData(string $sku, int $stockId, $expectedData)
self::assertEquals($expectedData, $stockItemData);
}

public function testGetStockItemDataReturnNullWhenTableDoesNotExists()
public function testGetStockItemDataReturnNullWhenTableDoesNotExist()
{
$stockItemData = $this->getStockItemData->execute('SKU-1', 10);
self::assertEquals(null, $stockItemData);
self::assertNull($stockItemData);
}

/**
Expand Down

0 comments on commit 40a2beb

Please sign in to comment.