Skip to content

Commit b826624

Browse files
authored
Merge pull request #284 from ezprit/fix-datetime-input-tests
fix datetime input tests
2 parents 5956efc + 9a5f942 commit b826624

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Integration/EndToEndTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ public function testEndToEndInputTypeDate()
494494
$schema = $this->mainContainer->get(Schema::class);
495495
$queryString = '
496496
mutation {
497-
saveBirthDate(birthDate: "1942-12-24 00:00:00") {
497+
saveBirthDate(birthDate: "1942-12-24T00:00:00+00:00") {
498498
name
499499
birthDate
500500
}
@@ -535,7 +535,7 @@ public function testEndToEndInputTypeDateAsParam()
535535
null,
536536
null,
537537
[
538-
"birthDate" => "1942-12-24 00:00:00"
538+
"birthDate" => "1942-12-24T00:00:00+00:00"
539539
]
540540
);
541541

@@ -558,7 +558,7 @@ public function testEndToEndInputType()
558558
saveContact(
559559
contact: {
560560
name: "foo",
561-
birthDate: "1942-12-24 00:00:00",
561+
birthDate: "1942-12-24T00:00:00+00:00",
562562
relations: [
563563
{
564564
name: "bar"

0 commit comments

Comments
 (0)