You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->assertEquals( 1, CashFlow::where( 'procurement_id', $procurement[ 'id' ] )->count(), 'There is more than 1 cash flow created for the same procurement.' );
59
57
$this->assertEquals( ns()->currency->getRaw( $existingExpense->value ), ns()->currency->getRaw( $procurement[ 'cost' ] ), 'The cash flow value doesn\'t match the procurement cost.' );
60
58
$this->assertTrue( $existingExpenseinstanceof CashFlow, 'No cash flow was created after the procurement was marked as paid.' );
61
59
$this->assertTrue( (float) $currentExpenseValue !== (float) $newExpensevalue, 'The expenses hasn\'t changed for the previously unpaid procurement.' );
@@ -69,13 +67,39 @@ protected function attemptCreateProcurement()
0 commit comments