10 | Don't have an account yet?
Sign up
11 |
12 | {% endblock %}
13 |
--------------------------------------------------------------------------------
/src/WebInterface/Presentation/Http/View/signup/confirm.html.twig:
--------------------------------------------------------------------------------
1 | {% extends '@web-interface/signup/layout/base.html.twig' %}
2 |
3 | {% set page_title = 'Confirm and play!' %}
4 | {% set step = 3 %}
5 |
6 | {% block card %}
7 |
15 | Already have an account?
Sign in
16 |
17 | {% endblock %}
18 |
--------------------------------------------------------------------------------
/templates/layout/partial/footer-links.html.twig:
--------------------------------------------------------------------------------
1 |
9 |
10 | {%- if type == 'danger' -%}{{ icons.danger() }}
11 | {%- elseif type == 'warning' -%}{{ icons.warning() }}
12 | {%- elseif type == 'success' -%}{{ icons.success() }}
13 | {%- else -%}{{ icons.info() }}{%- endif -%}
14 |
15 | {{- message -}}
16 |
17 | {%- endmacro -%}
18 |
--------------------------------------------------------------------------------
/tests/_data/.gitignore:
--------------------------------------------------------------------------------
1 | /*
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/tests/_output/.gitignore:
--------------------------------------------------------------------------------
1 | /*
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/tests/_support/AcceptanceTester.php:
--------------------------------------------------------------------------------
1 | retry(3);
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/tests/_support/Helper/Acceptance.php:
--------------------------------------------------------------------------------
1 |
11 | */
12 | final class FirstRequest implements Request
13 | {
14 | }
15 |
--------------------------------------------------------------------------------
/tests/unit/Common/Bus/Fixture/SecondRequest.php:
--------------------------------------------------------------------------------
1 |
11 | */
12 | final class SecondRequest implements Request
13 | {
14 | }
15 |
--------------------------------------------------------------------------------
/tests/unit/Common/Bus/Fixture/ThirdRequest.php:
--------------------------------------------------------------------------------
1 |
11 | */
12 | final class ThirdRequest implements Request
13 | {
14 | }
15 |
--------------------------------------------------------------------------------
/tests/unit/Common/Bus/Fixture/UniversalHandler.php:
--------------------------------------------------------------------------------
1 | assertSame($point->x(), 3);
20 | $this->assertSame($point->y(), 4);
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/tests/unit/ConnectFour/Domain/Game/PlayerTest.php:
--------------------------------------------------------------------------------
1 | assertEquals($id, $player->id());
25 | $this->assertEquals($stone, $player->stone());
26 | }
27 |
28 | /**
29 | * @test
30 | */
31 | public function itShouldNotBeCreatedWithNoneStone(): void
32 | {
33 | $this->expectException(PlayerHasInvalidStoneException::class);
34 |
35 | $id = uniqid();
36 | $stone = Stone::None;
37 |
38 | new Player($id, $stone);
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/tests/unit/Memory/Domain/Model/Game/Dealer/LazyDealerTest.php:
--------------------------------------------------------------------------------
1 | assertEquals($expectedCards, $dealer->dealIn());
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/tests/unit/Memory/Domain/Model/Game/Dealer/ShuffleDealerTest.php:
--------------------------------------------------------------------------------
1 | dealIn());
20 |
21 | $this->assertCount(3, $cardsWithoutDuplicates);
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/tests/unit/Memory/Domain/Model/Game/PlayerTest.php:
--------------------------------------------------------------------------------
1 | assertEquals($id, $player->id());
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/var/.gitignore:
--------------------------------------------------------------------------------
1 | /*
2 | !.gitignore
3 |
--------------------------------------------------------------------------------