File tree Expand file tree Collapse file tree 3 files changed +20
-6
lines changed Expand file tree Collapse file tree 3 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 42
42
<tag name =" maker.command" />
43
43
</service >
44
44
45
- <service id =" maker.maker.make_forgotten_password" class =" Symfony\Bundle\MakerBundle\Maker\MakeForgottenPassword" >
46
- <argument type =" service" id =" maker.file_manager" />
47
- <argument type =" service" id =" maker.renderer.form_type_renderer" />
48
- <argument type =" service" id =" router" />
49
- <tag name =" maker.command" />
50
- </service >
45
+ <!-- Temporary disable make forgotten password pending refactor. Allow's for other MakerBundle releases. -->
46
+ <!-- See https://github.com/symfony/maker-bundle/issues/537 -->
47
+ <!-- <service id="maker.maker.make_forgotten_password" class="Symfony\Bundle\MakerBundle\Maker\MakeForgottenPassword">-->
48
+ <!-- <argument type="service" id="maker.file_manager" />-->
49
+ <!-- <argument type="service" id="maker.renderer.form_type_renderer" />-->
50
+ <!-- <argument type="service" id="router" />-->
51
+ <!-- <tag name="maker.command" />-->
52
+ <!-- </service>-->
51
53
52
54
<service id =" maker.maker.make_form" class =" Symfony\Bundle\MakerBundle\Maker\MakeForm" >
53
55
<argument type =" service" id =" maker.doctrine_helper" />
Original file line number Diff line number Diff line change 15
15
use Symfony \Bundle \FrameworkBundle \Console \Application ;
16
16
use Symfony \Bundle \MakerBundle \Command \MakerCommand ;
17
17
use Symfony \Bundle \MakerBundle \Maker \AbstractMaker ;
18
+ use Symfony \Bundle \MakerBundle \Maker \MakeForgottenPassword ;
18
19
use Symfony \Bundle \MakerBundle \Test \MakerTestKernel ;
19
20
use Symfony \Component \Finder \Finder ;
20
21
@@ -39,6 +40,11 @@ public function testWiring()
39
40
continue ;
40
41
}
41
42
43
+ /** Skip make forgotten password as it is temp. disabled (tkt#537) */
44
+ if (MakeForgottenPassword::class === $ class ) {
45
+ continue ;
46
+ }
47
+
42
48
$ commandName = $ class ::getCommandName ();
43
49
// if the command does not exist, this will explode
44
50
$ command = $ application ->find ($ commandName );
Original file line number Diff line number Diff line change 8
8
9
9
class MakeForgottenPasswordTest extends MakerTestCase
10
10
{
11
+ /**
12
+ * Test skipped until make forgotten password is enabled again.
13
+ * @see https://github.com/symfony/maker-bundle/issues/537
14
+ */
11
15
public function getTestDetails ()
12
16
{
17
+ $ this ->markTestSkipped ('Temp. Disabled make forgotten password. See ' );
18
+
13
19
yield 'forgotten_password ' => [MakerTestDetails::createTest (
14
20
$ this ->getMakerInstance (MakeForgottenPassword::class),
15
21
[
You can’t perform that action at this time.
0 commit comments