Skip to content

Commit

Permalink
Merge pull request lonnieezell#352 from lonnieezell/fix-actions
Browse files Browse the repository at this point in the history
Enable Auth Token
  • Loading branch information
MGatner committed May 12, 2021
2 parents 2b42da1 + 08d483d commit e53a9a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
tools: composer, pecl, phpunit
extensions: intl, json, mbstring, mysqlnd, xdebug, xml, sqlite3
coverage: xdebug
env:
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }}

- name: Get composer cache directory
id: composer-cache
Expand Down
5 changes: 2 additions & 3 deletions tests/controllers/RegisterTest.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php

use CodeIgniter\Test\ControllerTester;
use CodeIgniter\Test\ControllerTestTrait;
use Config\Services;
use Myth\Auth\Controllers\AuthController;
use Tests\Support\AuthTestCase;

class RegisterTest extends AuthTestCase
{
use ControllerTester;
use ControllerTestTrait;

protected $refresh = true;

Expand All @@ -29,7 +29,6 @@ public function setUp(): void
$routes->add('register', 'AuthController::register', ['as' => 'register']);
Services::injectMock('routes', $routes);

$this->request = null;
$_SESSION = [];
}

Expand Down

0 comments on commit e53a9a8

Please sign in to comment.