mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 13:54:34 -04:00
Fixes for tests
This commit is contained in:
parent
79b93f75bb
commit
104ad33042
@ -15,7 +15,6 @@ use App\Http\Requests\Request;
|
|||||||
|
|
||||||
class DisconnectUserMailerRequest extends Request
|
class DisconnectUserMailerRequest extends Request
|
||||||
{
|
{
|
||||||
private bool $phone_has_changed = false;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determine if the user is authorized to make this request.
|
* Determine if the user is authorized to make this request.
|
||||||
|
@ -50,7 +50,7 @@ class TaskRepository extends BaseRepository
|
|||||||
TaskAssigned::dispatch($task, $task->company->db)->delay(2);
|
TaskAssigned::dispatch($task, $task->company->db)->delay(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!$task->rate || !isset($data['rate']))
|
if(!is_numeric($task->rate) && !isset($data['rate']))
|
||||||
$data['rate'] = 0;
|
$data['rate'] = 0;
|
||||||
|
|
||||||
$task->fill($data);
|
$task->fill($data);
|
||||||
|
@ -53,7 +53,6 @@ class QuoteTest extends TestCase
|
|||||||
ThrottleRequests::class
|
ThrottleRequests::class
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->markTestSkipped('22-06-2024');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testQuoteDueDateInjectionValidationLayer()
|
public function testQuoteDueDateInjectionValidationLayer()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user