Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit b6f0b75

Browse files
committed
Fix carrier test
Replaced hardcoded broken assertion
1 parent ee81f67 commit b6f0b75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/Dhl/Test/Unit/Model/CarrierTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -366,8 +366,8 @@ public function testCollectRatesFail()
366366

367367
$request = new RateRequest();
368368
$request->setPackageWeight(1);
369-
370-
$this->assertFalse(false, $this->model->collectRates($request));
369+
370+
$this->assertTrue($this->model->collectRates($request)->getError());
371371
}
372372

373373
/**

0 commit comments

Comments
 (0)