Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Gummibeer authored and actions-user committed Oct 20, 2021
1 parent 9b1776c commit 83a8685
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/LogsActivityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ public function it_will_not_log_casted_attribute_of_the_model_if_attribute_raw_v

public function getActivitylogOptions(): LogOptions
{
return LogOptions::defaults()->logOnly(['name'])->useAttributeRawValues(["name"]);
return LogOptions::defaults()->logOnly(['name'])->useAttributeRawValues(['name']);
}
};

Expand All @@ -525,7 +525,7 @@ public function getActivitylogOptions(): LogOptions

$this->assertInstanceOf(get_class($articleClass), $this->getLastActivity()->subject);
$this->assertEquals($article->id, $this->getLastActivity()->subject->id);
$this->assertNotEquals($article->name, $this->getLastActivity()->properties["attributes"]["name"]);
$this->assertNotEquals($article->name, $this->getLastActivity()->properties['attributes']['name']);
$this->assertEquals('created', $this->getLastActivity()->description);
$this->assertEquals('created', $this->getLastActivity()->event);
}
Expand Down

0 comments on commit 83a8685

Please sign in to comment.