Skip to content

Commit

Permalink
fixup for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Sep 8, 2023
1 parent fd79053 commit 37a3b4e
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion tests/src/Kernel/EventSubscriber/EventSubscriberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class EventSubscriberTest extends KernelTestBase {
/**
* {@inheritDoc}
*/
protected function setUp(): void {
public function setup(): void {
parent::setUp();
$this->installEntitySchema('file');

Expand Down
2 changes: 1 addition & 1 deletion tests/src/Kernel/Plugin/InstallTask/RouteRebuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class RouteRebuilderTest extends KernelTestBase {
/**
* {@inheritDoc}
*/
protected function setUp(): void {
public function setup(): void {
parent::setUp();
$this->setInstallProfile('stanford_profile');
$this->installEntitySchema('user');
Expand Down
2 changes: 1 addition & 1 deletion tests/src/Kernel/Plugin/InstallTask/SiteSettingsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class SiteSettingsTest extends KernelTestBase {
/**
* {@inheritDoc}
*/
protected function setUp(): void {
public function setup(): void {
parent::setUp();
$this->setInstallProfile('stanford_profile');

Expand Down
2 changes: 1 addition & 1 deletion tests/src/Kernel/Plugin/InstallTask/UsersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class UsersTest extends KernelTestBase {
/**
* {@inheritDoc}
*/
protected function setUp(): void {
public function setup(): void {
parent::setUp();
$this->setInstallProfile('stanford_profile');

Expand Down
2 changes: 1 addition & 1 deletion tests/src/Kernel/StanfordProfilePermissionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class StanfordProfilePermissionsTest extends KernelTestBase {
/**
* {@inheritdoc}
*/
protected function setUp(): void {
public function setup(): void {
parent::setUp();
$this->installSchema('system', ['key_value_expire']);
$this->installEntitySchema('user');
Expand Down
2 changes: 1 addition & 1 deletion tests/src/Unit/Config/ConfigOverridesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ConfigOverridesTest extends UnitTestCase {
/**
* {@inheritDoc}
*/
protected function setUp(): void {
public function setup(): void {
parent::setUp();
$state = $this->createMock(StateInterface::class);
$state->method('get')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class ProfileConnectSectionTest extends UnitTestCase {
/**
* {@inheritDoc}
*/
protected function setUp(): void {
public function setup(): void {
parent::setUp();
$container = new ContainerBuilder();
$container->set('string_translation', $this->getStringTranslationStub());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ProfileHelpSectionTest extends UnitTestCase {
/**
* {@inheritDoc}
*/
protected function setUp(): void {
public function setup(): void {
parent::setUp();
$container = new ContainerBuilder();
$container->set('string_translation', $this->getStringTranslationStub());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ProfileResourceSectionTest extends UnitTestCase {
/**
* {@inheritDoc}
*/
protected function setUp(): void {
public function setup(): void {
parent::setUp();
$container = new ContainerBuilder();
$container->set('string_translation', $this->getStringTranslationStub());
Expand Down

0 comments on commit 37a3b4e

Please sign in to comment.