Use ::class notation

This commit is contained in:
James Brooks
2018-06-16 21:25:23 +01:00
parent 62e377e6f7
commit ecc050419a

View File

@@ -11,6 +11,7 @@
namespace CachetHQ\Tests\Cachet\Api;
use CachetHQ\Cachet\Models\Component;
use CachetHQ\Cachet\Models\Incident;
use CachetHQ\Cachet\Models\IncidentTemplate;
@@ -76,7 +77,7 @@ class IncidentTest extends AbstractApiTestCase
public function test_can_create_incident_with_component_status()
{
$component = factory('CachetHQ\Cachet\Models\Component')->create();
$component = factory(Component::class)->create();
$this->beUser();