Skip to content

Commit

Permalink
Merge pull request #707 from robinklaassen/disable-registration
Browse files Browse the repository at this point in the history
Disable registration
  • Loading branch information
blackshadev authored Jul 6, 2024
2 parents b6bc7bd + 4151b78 commit e562a61
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions routes/web.guest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
Route::get('/', 'Auth\LoginController@showLoginForm');

// New registration things
Route::get('register-member', 'RegistrationController@registerMember');
Route::post('register-member', 'RegistrationController@storeMember');
Route::get('register-participant', 'RegistrationController@registerParticipant');
Route::post('register-participant', 'RegistrationController@storeParticipant');
// Route::get('register-member', 'RegistrationController@registerMember');
// Route::post('register-member', 'RegistrationController@storeMember');
// Route::get('register-participant', 'RegistrationController@registerParticipant');
// Route::post('register-participant', 'RegistrationController@storeParticipant');

// Custom password reset
Route::get('forgot-password', 'PasswordController@forgot');
Expand Down
2 changes: 2 additions & 0 deletions tests/Feature/MemberRegistrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ class MemberRegistrationTest extends TestCase

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

parent::setUp();

// Create member data to test for in DB
Expand Down
2 changes: 2 additions & 0 deletions tests/Feature/ParticipantRegistrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ class ParticipantRegistrationTest 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 e562a61

Please sign in to comment.