Skip to content

Commit 3314386

Browse files
committed
[TASK] Use newly introduced extension selection and cleanup old code
1 parent cf17b3f commit 3314386

File tree

3 files changed

+2
-123
lines changed

3 files changed

+2
-123
lines changed

Classes/Command/AcceptanceTestsCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ protected function configure(): void
5555
protected function execute(InputInterface $input, OutputInterface $output): int
5656
{
5757
$this->io = new SymfonyStyle($input, $output);
58-
$this->package = $this->askForPackage($this->io);
58+
$this->package = $this->packageResolver->resolvePackage($this->askForExtensionKey());
5959

6060
$packageKey = $this->package->getPackageKey();
6161
$targetPackagePath = $this->package->getPackagePath();
@@ -70,7 +70,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
7070
$finder = GeneralUtility::makeInstance(Finder::class);
7171

7272
$codeTemplatePath = '/Resources/Private/CodeTemplates/AcceptanceTests';
73-
$templatePath = $this->getPackageResolver()->resolvePackage('b13/make')->getPackagePath() . $codeTemplatePath;
73+
$templatePath = $this->packageResolver->resolvePackage('b13/make')->getPackagePath() . $codeTemplatePath;
7474

7575
$this->filesystem->mkdir([
7676
$targetPackagePath . '/Tests/Acceptance/Fixtures',

Classes/Command/RunTestsCommand.php

Lines changed: 0 additions & 114 deletions
This file was deleted.

Configuration/Services.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,3 @@ services:
5151
command: 'make:acceptance'
5252
description: 'Create files required to run acceptance tests'
5353
schedulable: false
54-
55-
B13\Make\Command\RunTestsCommand:
56-
tags:
57-
- name: 'console.command'
58-
command: 'make:runtests'
59-
description: 'Setup runTests.sh to run tests, linter, cgl in a Docker environment'
60-
schedulable: false

0 commit comments

Comments
 (0)