diff --git a/tests/LogsActivityTest.php b/tests/LogsActivityTest.php index ae475e03..35013684 100644 --- a/tests/LogsActivityTest.php +++ b/tests/LogsActivityTest.php @@ -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']); } }; @@ -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); }