Skip to content

Commit c397601

Browse files
committed
Remove unnecessary docs in unit tests
1 parent b4fcb82 commit c397601

2 files changed

Lines changed: 0 additions & 19 deletions

File tree

tests/event/listener_test.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ class event_listener_test extends \phpbb_test_case
1919

2020
/**
2121
* Setup test environment
22-
*
23-
* @access public
2422
*/
2523
public function setUp()
2624
{
@@ -40,8 +38,6 @@ public function setUp()
4038

4139
/**
4240
* Create our event listener
43-
*
44-
* @access protected
4541
*/
4642
protected function set_listener()
4743
{
@@ -54,8 +50,6 @@ protected function set_listener()
5450

5551
/**
5652
* Test the event listener is constructed correctly
57-
*
58-
* @access public
5953
*/
6054
public function test_construct()
6155
{
@@ -65,8 +59,6 @@ public function test_construct()
6559

6660
/**
6761
* Test the event listener is subscribing events
68-
*
69-
* @access public
7062
*/
7163
public function test_getSubscribedEvents()
7264
{
@@ -79,8 +71,6 @@ public function test_getSubscribedEvents()
7971

8072
/**
8173
* Test the load_google_analytics event
82-
*
83-
* @access public
8474
*/
8575
public function test_load_google_analytics()
8676
{
@@ -99,7 +89,6 @@ public function test_load_google_analytics()
9989
* Data set for test_add_googleanalytics_configs
10090
*
10191
* @return array Array of test data
102-
* @access public
10392
*/
10493
public function add_googleanalytics_configs_data()
10594
{
@@ -131,7 +120,6 @@ public function add_googleanalytics_configs_data()
131120
* Test the add_googleanalytics_configs event
132121
*
133122
* @dataProvider add_googleanalytics_configs_data
134-
* @access public
135123
*/
136124
public function test_add_googleanalytics_configs($mode, $display_vars, $expected_keys)
137125
{
@@ -160,7 +148,6 @@ public function test_add_googleanalytics_configs($mode, $display_vars, $expected
160148
* Data set for test_validate_googleanalytics_id
161149
*
162150
* @return array Array of test data
163-
* @access public
164151
*/
165152
public function validate_googleanalytics_id_data()
166153
{
@@ -202,7 +189,6 @@ public function validate_googleanalytics_id_data()
202189
* Test the validate_googleanalytics_id event
203190
*
204191
* @dataProvider validate_googleanalytics_id_data
205-
* @access public
206192
*/
207193
public function test_validate_googleanalytics_id($cfg_array, $expected_error)
208194
{

tests/functional/google_analytics_test.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ class google_analytics_test extends \phpbb_functional_test_case
2121
* Define the extensions to be tested
2222
*
2323
* @return array vendor/name of extension(s) to test
24-
* @access static
2524
*/
2625
static protected function setup_extensions()
2726
{
@@ -30,8 +29,6 @@ static protected function setup_extensions()
3029

3130
/**
3231
* Test Google Analytics ACP page and save settings
33-
*
34-
* @access public
3532
*/
3633
public function test_set_acp_settings()
3734
{
@@ -80,8 +77,6 @@ public function test_set_acp_settings()
8077

8178
/**
8279
* Test Google Analytics code appears as expected
83-
*
84-
* @access public
8580
*/
8681
public function test_google_analytics_code()
8782
{

0 commit comments

Comments
 (0)