mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-06 03:02:34 +01:00
22 lines
379 B
PHP
22 lines
379 B
PHP
|
<?php
|
||
|
|
||
|
namespace Tests\Unit;
|
||
|
|
||
|
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||
|
use Illuminate\Foundation\Testing\WithFaker;
|
||
|
use Tests\TestCase;
|
||
|
|
||
|
class SentryTest extends TestCase
|
||
|
{
|
||
|
|
||
|
public function testSentryFiresAppropriately()
|
||
|
{
|
||
|
|
||
|
$e = new \Exception("Test Fire");
|
||
|
app('sentry')->captureException($e);
|
||
|
|
||
|
$this->assertTrue(true);
|
||
|
|
||
|
}
|
||
|
}
|