Ensure that method names are in a consistent format
This commit is contained in:
parent
280a381c68
commit
864c2429a5
2 changed files with 12 additions and 4 deletions
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
// phpcs:disable Drupal.Commenting.DocComment, Drupal.NamingConventions.ValidFunctionName
|
||||
|
||||
namespace Drupal\Tests\opdavies_talks\Kernel;
|
||||
|
||||
use Carbon\Carbon;
|
||||
|
@ -7,7 +9,8 @@ use Drupal\paragraphs\ParagraphInterface;
|
|||
|
||||
final class EventsAreReorderedByDateTest extends TalksTestBase {
|
||||
|
||||
public function testCreatingNode(): void {
|
||||
/** @test */
|
||||
public function the_events_are_reordered_when_a_talk_node_is_created(): void {
|
||||
$events = [
|
||||
$this->createEvent([
|
||||
'field_date' => Carbon::today()->addWeeks(2),
|
||||
|
@ -50,7 +53,8 @@ final class EventsAreReorderedByDateTest extends TalksTestBase {
|
|||
);
|
||||
}
|
||||
|
||||
public function testUpdatingNode(): void {
|
||||
/** @test */
|
||||
public function the_events_are_reordered_when_a_talk_node_is_updated(): void {
|
||||
$events = [
|
||||
$this->createEvent([
|
||||
'field_date' => Carbon::today()->addWeeks(2),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue