Skip to content

Commit fbaa878

Browse files
authored
Merge pull request #152 from fattureincloud/fix-test-devel-2.1.1v2
fix: fixed test for email_sent
2 parents ed06427 + c4f1184 commit fbaa878

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

test/Model/EmailTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,7 @@ public function testPropertyStatus()
127127
*/
128128
public function testPropertySentDate()
129129
{
130-
$date = new \DateTime($this->array['sent_date']);
131-
TestCase::assertEquals($this->object['sent_date'], $date);
130+
TestCase::assertEquals($this->object['sent_date'], $this->array['sent_date']);
132131
}
133132

134133
/**

0 commit comments

Comments
 (0)