Skip to content

Commit

Permalink
proper skip tests
Browse files Browse the repository at this point in the history
  • Loading branch information
robinklaassen committed Jul 6, 2024
1 parent 55e3ea5 commit 4151b78
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tests/Feature/MemberRegistrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Illuminate\Support\Facades\Mail;
use Tests\TestCase;

class MemberRegistrationTestDisabled extends TestCase
class MemberRegistrationTest extends TestCase
{
use DatabaseTransactions;

Expand Down Expand Up @@ -45,6 +45,8 @@ class MemberRegistrationTestDisabled extends TestCase

protected function setUp(): void
{
$this->markTestSkipped('Registration pages are disabled.');

parent::setUp();

// Create member data to test for in DB
Expand Down
4 changes: 3 additions & 1 deletion tests/Feature/ParticipantRegistrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Mockery;
use Tests\TestCase;

class ParticipantRegistrationTestDisabled extends TestCase
class ParticipantRegistrationTest extends TestCase
{
use DatabaseTransactions;

Expand Down Expand Up @@ -70,6 +70,8 @@ class ParticipantRegistrationTestDisabled extends TestCase

protected function setUp(): void
{
$this->markTestSkipped('Registration pages are disabled.');

parent::setUp();
$this->event = Event::findOrFail($this->data['selected_camp']);
$this->participantData = [
Expand Down

0 comments on commit 4151b78

Please sign in to comment.