Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Move property to local variable on usage only in setUp() method in tests #1222

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ final class SessionAuthenticatorTest extends DatabaseTestCase
use FakeUser;

private Session $auth;
protected $namespace;
private MockEvents $events;

protected function setUp(): void
{
Expand All @@ -51,8 +49,8 @@ protected function setUp(): void
$authenticator = $auth->factory('session');
$this->auth = $authenticator;

$this->events = new MockEvents();
Services::injectMock('events', $this->events);
$events = new MockEvents();
Services::injectMock('events', $events);

$this->db->table($this->tables['identities'])->truncate();
}
Expand Down
2 changes: 0 additions & 2 deletions tests/Authentication/Filters/JWTFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ final class JWTFilterTest extends DatabaseTestCase
{
use FeatureTestTrait;

protected $namespace;

protected function setUp(): void
{
Services::reset(true);
Expand Down
1 change: 0 additions & 1 deletion tests/Authentication/MagicLinkTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ final class MagicLinkTest extends DatabaseTestCase
use FeatureTestTrait;

protected $refresh = true;
protected $namespace;

protected function setUp(): void
{
Expand Down
1 change: 0 additions & 1 deletion tests/Authorization/AuthorizableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ final class AuthorizableTest extends DatabaseTestCase
use FakeUser;

protected $refresh = true;
protected $namespace;

protected function setUp(): void
{
Expand Down
2 changes: 0 additions & 2 deletions tests/Controllers/LoginTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ final class LoginTest extends DatabaseTestCase
use FeatureTestTrait;
use FakeUser;

protected $namespace;

protected function setUp(): void
{
parent::setUp();
Expand Down
2 changes: 0 additions & 2 deletions tests/Controllers/RegisterTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php

Check warning on line 1 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - MySQLi - lowest

Took 0.66s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin

Check warning on line 1 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - MySQLi - lowest

Took 0.65s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined

Check warning on line 1 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - MySQLi - lowest

Took 0.65s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain

Check warning on line 1 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - MySQLi - lowest

Took 0.65s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin

Check warning on line 1 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - MySQLi - lowest

Took 0.65s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin

Check warning on line 1 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - MySQLi - lowest

Took 0.65s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess

Check warning on line 1 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - MySQLi - lowest

Took 0.63s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionWithBadEmailValue

declare(strict_types=1);

Expand Down Expand Up @@ -33,8 +33,6 @@
use FeatureTestTrait;
use FakeUser;

protected $namespace;

protected function setUp(): void
{
Services::reset(true);
Expand All @@ -53,7 +51,7 @@
Factories::injectMock('config', 'Validation', $config);
}

public function testRegisterActionSuccess(): void

Check warning on line 54 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - SQLite3

Took 0.64s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess

Check warning on line 54 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - MySQLi

Took 0.68s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess

Check warning on line 54 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.0 - SQLite3

Took 0.51s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess

Check warning on line 54 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.2 - SQLite3

Took 0.59s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess

Check warning on line 54 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.1 - SQLite3

Took 0.52s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess

Check warning on line 54 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.3 - SQLite3

Took 0.62s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess

Check warning on line 54 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.2 - MySQLi

Took 0.66s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess

Check warning on line 54 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - MySQLi

Took 0.76s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess

Check warning on line 54 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - SQLSRV

Took 0.83s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess

Check warning on line 54 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.1 - MySQLi

Took 0.65s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess

Check warning on line 54 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.3 - MySQLi

Took 0.70s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess

Check warning on line 54 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - Postgre

Took 0.64s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess

Check warning on line 54 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.0 - MySQLi

Took 0.56s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess

Check warning on line 54 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - OCI8

Took 1.22s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccess
{
$result = $this->withSession()->post('/register', [
'username' => 'JohnDoe',
Expand Down Expand Up @@ -91,7 +89,7 @@
$this->assertTrue($user->active);
}

public function testRegisterActionSuccessWithNoEmailLogin(): void

Check warning on line 92 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - SQLite3

Took 0.65s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin

Check warning on line 92 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - MySQLi

Took 0.69s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin

Check warning on line 92 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.2 - SQLite3

Took 0.57s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin

Check warning on line 92 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.1 - SQLite3

Took 0.52s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin

Check warning on line 92 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.3 - SQLite3

Took 0.62s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin

Check warning on line 92 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.2 - MySQLi

Took 0.66s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin

Check warning on line 92 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - MySQLi

Took 0.77s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin

Check warning on line 92 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - SQLSRV

Took 0.83s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin

Check warning on line 92 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.1 - MySQLi

Took 0.62s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin

Check warning on line 92 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.3 - MySQLi

Took 0.69s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin

Check warning on line 92 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - Postgre

Took 0.67s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin

Check warning on line 92 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.0 - MySQLi

Took 0.60s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin

Check warning on line 92 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - OCI8

Took 1.22s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionSuccessWithNoEmailLogin
{
/** @var Auth $config */
$config = config('Auth');
Expand Down Expand Up @@ -183,7 +181,7 @@
$this->assertCount(4, session('errors'));
}

public function testRegisterRedirectsToActionIfDefined(): void

Check warning on line 184 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - SQLite3

Took 0.65s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined

Check warning on line 184 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - MySQLi

Took 0.68s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined

Check warning on line 184 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.2 - SQLite3

Took 0.59s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined

Check warning on line 184 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.1 - SQLite3

Took 0.52s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined

Check warning on line 184 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.3 - SQLite3

Took 0.62s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined

Check warning on line 184 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.2 - MySQLi

Took 0.67s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined

Check warning on line 184 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - MySQLi

Took 0.74s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined

Check warning on line 184 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - SQLSRV

Took 0.82s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined

Check warning on line 184 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.1 - MySQLi

Took 0.66s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined

Check warning on line 184 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.3 - MySQLi

Took 0.69s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined

Check warning on line 184 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - Postgre

Took 0.64s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined

Check warning on line 184 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.0 - MySQLi

Took 0.58s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined

Check warning on line 184 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - OCI8

Took 1.12s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterRedirectsToActionIfDefined
{
// Ensure our action is defined
$config = config('Auth');
Expand All @@ -207,7 +205,7 @@
]);
}

public function testRegisteredButNotActivatedAndLogin(): void

Check warning on line 208 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - SQLite3

Took 0.65s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin

Check warning on line 208 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - MySQLi

Took 0.69s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin

Check warning on line 208 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.0 - SQLite3

Took 0.52s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin

Check warning on line 208 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.2 - SQLite3

Took 0.60s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin

Check warning on line 208 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.1 - SQLite3

Took 0.52s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin

Check warning on line 208 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.3 - SQLite3

Took 0.62s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin

Check warning on line 208 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.2 - MySQLi

Took 0.68s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin

Check warning on line 208 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - MySQLi

Took 0.78s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin

Check warning on line 208 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - SQLSRV

Took 0.84s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin

Check warning on line 208 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.1 - MySQLi

Took 0.60s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin

Check warning on line 208 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.3 - MySQLi

Took 0.69s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin

Check warning on line 208 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - Postgre

Took 0.64s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin

Check warning on line 208 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.0 - MySQLi

Took 0.57s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin

Check warning on line 208 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - OCI8

Took 1.18s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndLogin
{
// Ensure our action is defined
$config = config('Auth');
Expand All @@ -231,7 +229,7 @@
$result->assertRedirectTo('/auth/a/show');
}

public function testRegisteredButNotActivatedAndRegisterAgain(): void

Check warning on line 232 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - SQLite3

Took 0.65s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain

Check warning on line 232 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - MySQLi

Took 0.67s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain

Check warning on line 232 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.2 - SQLite3

Took 0.60s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain

Check warning on line 232 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.1 - SQLite3

Took 0.55s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain

Check warning on line 232 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.3 - SQLite3

Took 0.64s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain

Check warning on line 232 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.2 - MySQLi

Took 0.67s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain

Check warning on line 232 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - MySQLi

Took 0.76s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain

Check warning on line 232 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - SQLSRV

Took 0.85s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain

Check warning on line 232 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.1 - MySQLi

Took 0.59s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain

Check warning on line 232 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.3 - MySQLi

Took 0.69s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain

Check warning on line 232 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - Postgre

Took 0.65s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain

Check warning on line 232 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.0 - MySQLi

Took 1.31s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain

Check warning on line 232 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - OCI8

Took 1.12s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredButNotActivatedAndRegisterAgain
{
// Ensure our action is defined
$config = config('Auth');
Expand All @@ -257,7 +255,7 @@
$result->assertRedirectTo('/auth/a/show');
}

public function testRegisteredAndSessionExpiredAndLogin(): void

Check warning on line 258 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - SQLite3

Took 0.67s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin

Check warning on line 258 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - MySQLi

Took 0.67s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin

Check warning on line 258 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.0 - SQLite3

Took 0.51s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin

Check warning on line 258 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.2 - SQLite3

Took 0.60s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin

Check warning on line 258 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.1 - SQLite3

Took 0.51s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin

Check warning on line 258 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.3 - SQLite3

Took 0.63s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin

Check warning on line 258 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.2 - MySQLi

Took 0.70s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin

Check warning on line 258 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - MySQLi

Took 0.78s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin

Check warning on line 258 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - SQLSRV

Took 0.84s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin

Check warning on line 258 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.1 - MySQLi

Took 0.61s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin

Check warning on line 258 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.3 - MySQLi

Took 0.68s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin

Check warning on line 258 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - Postgre

Took 0.66s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin

Check warning on line 258 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.0 - MySQLi

Took 0.58s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin

Check warning on line 258 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - OCI8

Took 1.19s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisteredAndSessionExpiredAndLogin
{
// Ensure our action is defined
$config = config('Auth');
Expand Down Expand Up @@ -313,7 +311,7 @@
$result->assertRedirectTo(config('Auth')->registerRedirect());
}

public function testRegisterActionWithBadEmailValue(): void

Check warning on line 314 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - SQLite3

Took 0.62s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionWithBadEmailValue

Check warning on line 314 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - MySQLi

Took 0.67s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionWithBadEmailValue

Check warning on line 314 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.2 - SQLite3

Took 0.58s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionWithBadEmailValue

Check warning on line 314 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.3 - SQLite3

Took 0.60s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionWithBadEmailValue

Check warning on line 314 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.2 - MySQLi

Took 0.64s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionWithBadEmailValue

Check warning on line 314 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - MySQLi

Took 0.74s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionWithBadEmailValue

Check warning on line 314 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - SQLSRV

Took 0.81s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionWithBadEmailValue

Check warning on line 314 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.1 - MySQLi

Took 0.57s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionWithBadEmailValue

Check warning on line 314 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.3 - MySQLi

Took 0.66s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionWithBadEmailValue

Check warning on line 314 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - Postgre

Took 0.64s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionWithBadEmailValue

Check warning on line 314 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 8.0 - MySQLi

Took 0.56s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionWithBadEmailValue

Check warning on line 314 in tests/Controllers/RegisterTest.php

View workflow job for this annotation

GitHub Actions / phpunit / PHP 7.4 - OCI8

Took 1.10s from 0.50s limit to run Tests\\Controllers\\RegisterTest::testRegisterActionWithBadEmailValue
{
$result = $this->withSession()->post('/register', [
'username' => 'JohnDoe',
Expand Down
Loading