refactor: replace custom CRM with Monica fork
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
This commit is contained in:
23
tests/Browser/Settings/DAVControllerTest.php
Normal file
23
tests/Browser/Settings/DAVControllerTest.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Browser\Settings;
|
||||
|
||||
use Tests\DuskTestCase;
|
||||
use Laravel\Dusk\Browser;
|
||||
use Tests\Browser\Pages\SettingsDAV;
|
||||
|
||||
class DAVControllerTest extends DuskTestCase
|
||||
{
|
||||
/**
|
||||
* Test if the dav url is present.
|
||||
*/
|
||||
public function test_it_has_dav_url()
|
||||
{
|
||||
$this->browse(function (Browser $browser) {
|
||||
$browser->login()
|
||||
->visit(new SettingsDAV)
|
||||
->assertVisible('dav_url_base')
|
||||
->assertSourceHas(config('app.url').'/dav');
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user