Skip to content

Commit

Permalink
Adjust test case
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Oct 14, 2021
1 parent 0530dab commit d78539b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,11 @@ public function testMapDataNull(): void
$example = new Example();
$unlocalizedDimensionContent = new ExampleDimensionContent($example);
$localizedDimensionContent = new ExampleDimensionContent($example);
$localizedDimensionContent->setAuthor(new Contact());
$localizedDimensionContent->setAuthored(new \DateTimeImmutable());

$this->contactFactory->create(Argument::cetera())
->shouldBeNotCalled();
->shouldNotBeCalled();

$authorMapper = $this->createAuthorDataMapperInstance();
$authorMapper->map($unlocalizedDimensionContent, $localizedDimensionContent, $data);
Expand Down

0 comments on commit d78539b

Please sign in to comment.