Skip to content

Commit

Permalink
Use ::class notation
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrooksuk committed Jun 16, 2018
1 parent 62e377e commit ecc0504
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Api/IncidentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

namespace CachetHQ\Tests\Cachet\Api;

use CachetHQ\Cachet\Models\Component;
use CachetHQ\Cachet\Models\Incident;
use CachetHQ\Cachet\Models\IncidentTemplate;

Expand Down Expand Up @@ -76,7 +77,7 @@ public function test_can_create_incident()

public function test_can_create_incident_with_component_status()
{
$component = factory('CachetHQ\Cachet\Models\Component')->create();
$component = factory(Component::class)->create();

$this->beUser();

Expand Down

0 comments on commit ecc0504

Please sign in to comment.