All test method should have a void return type
This commit is contained in:
parent
8591a0f846
commit
280a381c68
4 changed files with 8 additions and 8 deletions
|
@ -7,7 +7,7 @@ use Drupal\datetime\Plugin\Field\FieldType\DateTimeItemInterface;
|
|||
|
||||
final class UpdatesTalkCreatedDateTest extends TalksTestBase {
|
||||
|
||||
public function testCreatingNode() {
|
||||
public function testCreatingNode(): void {
|
||||
$eventDate = Carbon::today()->addWeek();
|
||||
$eventDateFormat = $eventDate
|
||||
->format(DateTimeItemInterface::DATE_STORAGE_FORMAT);
|
||||
|
@ -22,7 +22,7 @@ final class UpdatesTalkCreatedDateTest extends TalksTestBase {
|
|||
$this->assertEqual($eventDateTimestamp, $talk->getCreatedTime());
|
||||
}
|
||||
|
||||
public function testUpdatingNode() {
|
||||
public function testUpdatingNode(): void {
|
||||
$talk = $this->createTalk();
|
||||
$originalCreatedTime = $talk->getCreatedTime();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue