Commit 755a73c8 authored by Nicolas Widart's avatar Nicolas Widart

Adding tests

parent b6a20d04
<?php
class UrlTest extends TestCase
{
/** @test */
public function testDashboardAccessible()
{
$crawler = $this->client->request('GET', '/' . Config::get('core::core.admin-prefix'));
$this->assertTrue($this->client->getResponse()->isOk());
$this->assertCount(1, $crawler->filter('h1:contains("Dashboard")'));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment