Skip to content

Commit

Permalink
Set up for event form handler test
Browse files Browse the repository at this point in the history
  • Loading branch information
trymebytes committed Dec 4, 2024
1 parent fefa95f commit c9e213d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions tests/event/event-form-handler.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

namespace Wporg\Tests\Event;

use Wporg\Tests\Base_Test;
use Wporg\TranslationEvents\Attendee\Attendee_Repository;
use Wporg\TranslationEvents\Event\Event_Repository;
use Wporg\TranslationEvents\Event\Event_Form_Handler;



class Event_Form_Handler_Test extends Base_Test {
private Event_Repository $event_repository;
private Attendee_Repository $attendee_repository;
private $event_form_handler;

public function setUp(): void {
parent::setUp();
$this->attendee_repository = new Attendee_Repository();
$this->event_repository = new Event_Repository( $this->now, $this->attendee_repository );
$this->event_form_handler = new Event_Form_Handler( $this->now, $this->event_repository );
}
}

0 comments on commit c9e213d

Please sign in to comment.