Skip to content

Commit 9b0f9d5

Browse files
committed
Fix tests
Signed-off-by: Matt Friedman <[email protected]>
1 parent e6b260b commit 9b0f9d5

File tree

4 files changed

+21
-5
lines changed

4 files changed

+21
-5
lines changed

tests/console/create_test.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
<?php
22
/**
33
*
4-
* Pages extension for the phpBB Forum Software package.
4+
* This file is part of the phpBB Forum Software package.
55
*
6-
* @copyright (c) 2021 phpBB Limited <https://www.phpbb.com>
6+
* @copyright (c) phpBB Limited <https://www.phpbb.com>
77
* @license GNU General Public License, version 2 (GPL-2.0)
88
*
9+
* For full copyright and license information, please see
10+
* the docs/CREDITS.txt file.
11+
*
912
*/
1013

1114
namespace phpbb\skeleton\tests\console;

tests/controller/main_test.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ public function test_submit_success()
286286
['vendor_name', '', true, \phpbb\request\request_interface::REQUEST, 'foo_vendor'],
287287
['php_version', '>=5.4', true, \phpbb\request\request_interface::REQUEST, '>=5.4'],
288288
['component_phplistener', true, false, \phpbb\request\request_interface::REQUEST, true],
289+
['component_githubactions', true, false, \phpbb\request\request_interface::REQUEST, true],
289290
]);
290291

291292
$this->packager_mock->expects(self::once())
@@ -305,6 +306,12 @@ public function test_submit_success()
305306
'files' => ['config/services.yml', 'event/main_listener.php', 'language/en/common.php'],
306307
'group' => 'BACK_END',
307308
],
309+
'githubactions' => [
310+
'default' => false,
311+
'dependencies' => ['tests'],
312+
'files' => ['.github/workflows/tests.yml'],
313+
'group' => 'TEST_DEPLOY',
314+
],
308315
]);
309316

310317
$this->packager_mock->expects($this->once())

tests/event_listener_test.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
<?php
22
/**
33
*
4-
* Pages extension for the phpBB Forum Software package.
4+
* This file is part of the phpBB Forum Software package.
55
*
6-
* @copyright (c) 2014 phpBB Limited <https://www.phpbb.com>
6+
* @copyright (c) phpBB Limited <https://www.phpbb.com>
77
* @license GNU General Public License, version 2 (GPL-2.0)
88
*
9+
* For full copyright and license information, please see
10+
* the docs/CREDITS.txt file.
11+
*
912
*/
1013

1114
namespace phpbb\skeleton\tests;

tests/template/template_test.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
<?php
22
/**
33
*
4-
* Pages extension for the phpBB Forum Software package.
4+
* This file is part of the phpBB Forum Software package.
55
*
66
* @copyright (c) phpBB Limited <https://www.phpbb.com>
77
* @license GNU General Public License, version 2 (GPL-2.0)
88
*
9+
* For full copyright and license information, please see
10+
* the docs/CREDITS.txt file.
11+
*
912
*/
1013

1114
namespace phpbb\skeleton\tests\template;

0 commit comments

Comments
 (0)