We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25a684d commit 4a77ff4Copy full SHA for 4a77ff4
src/Revisions/Revision.php
@@ -71,4 +71,9 @@ public function model($model = null)
71
72
return $this;
73
}
74
+
75
+ public function toWorkingCopy(): FileEntry
76
+ {
77
+ return parent::toWorkingCopy()->model($this->model);
78
+ }
79
tests/Forms/FormSubmissionTest.php
@@ -84,6 +84,7 @@ public function it_should_not_overwrite_submissions()
84
'data' => [
85
'name' => 'Billy Doe',
86
],
87
+ 'created_at' => now()->addMicrosecond(),
88
]);
89
90
$this->assertCount(2, SubmissionModel::all());
0 commit comments