Test to see if bread crumb present.

This commit is contained in:
James Cole
2016-12-09 07:08:31 +01:00
parent 052957bbd0
commit ac92939429
5 changed files with 25 additions and 0 deletions

View File

@@ -38,6 +38,8 @@ class UserControllerTest extends TestCase
$this->be($this->user());
$this->call('GET', route('admin.users.edit', [1]));
$this->assertResponseStatus(200);
// has bread crumb
$this->see('<ol class="breadcrumb">');
}
/**
@@ -49,6 +51,8 @@ class UserControllerTest extends TestCase
$this->be($this->user());
$this->call('GET', route('admin.users'));
$this->assertResponseStatus(200);
// has bread crumb
$this->see('<ol class="breadcrumb">');
}
/**
@@ -60,6 +64,8 @@ class UserControllerTest extends TestCase
$this->be($this->user());
$this->call('GET', route('admin.users.edit', [1]));
$this->assertResponseStatus(200);
// has bread crumb
$this->see('<ol class="breadcrumb">');
}
/**