mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/13124] Fix tests for event exporter
PHPBB3-13124
This commit is contained in:
parent
825af557ae
commit
7bcf6a621f
1 changed files with 2 additions and 2 deletions
|
@ -119,6 +119,7 @@ class phpbb_event_php_exporter_test extends phpbb_test_case
|
||||||
array('* @since 3.1.0-b3', '3.1.0-b3'),
|
array('* @since 3.1.0-b3', '3.1.0-b3'),
|
||||||
array(' * @since 3.1.0-b3', '3.1.0-b3'),
|
array(' * @since 3.1.0-b3', '3.1.0-b3'),
|
||||||
array('* @since 3.1.0-RC2', '3.1.0-RC2'),
|
array('* @since 3.1.0-RC2', '3.1.0-RC2'),
|
||||||
|
array(' * @since 3.1.0-a1', '3.1.0-a1'),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -133,7 +134,6 @@ class phpbb_event_php_exporter_test extends phpbb_test_case
|
||||||
static public function validate_since_throws_data()
|
static public function validate_since_throws_data()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
array(' * @since 3.1.0-a1'),
|
|
||||||
array('* @since 3.1.0-a1 '),
|
array('* @since 3.1.0-a1 '),
|
||||||
array('* @since 3.1.0-a1 bertie is cool'),
|
array('* @since 3.1.0-a1 bertie is cool'),
|
||||||
array('bertie* @since 3.1.0-a1'),
|
array('bertie* @since 3.1.0-a1'),
|
||||||
|
@ -156,6 +156,7 @@ class phpbb_event_php_exporter_test extends phpbb_test_case
|
||||||
return array(
|
return array(
|
||||||
array('test.event', '* @event test.event', 'test.event'),
|
array('test.event', '* @event test.event', 'test.event'),
|
||||||
array('test.event2', ' * @event test.event2', 'test.event2'),
|
array('test.event2', ' * @event test.event2', 'test.event2'),
|
||||||
|
array('test.event', ' * @event test.event', 'test.event'),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -170,7 +171,6 @@ class phpbb_event_php_exporter_test extends phpbb_test_case
|
||||||
static public function validate_event_throws_data()
|
static public function validate_event_throws_data()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
array('test.event', ' * @event test.event', 1),
|
|
||||||
array('test.event', '* @event test.event bertie is cool', 2),
|
array('test.event', '* @event test.event bertie is cool', 2),
|
||||||
array('test.event', 'bertie* @event test.event', 2),
|
array('test.event', 'bertie* @event test.event', 2),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue