mirror of
https://github.com/phpbb/phpbb.git
synced 2025-09-01 12:22:58 +02:00
[ticket/12273] Add a basic set of tests for the exporter
PHPBB3-12273
This commit is contained in:
9
tests/event/fixtures/default.test
Normal file
9
tests/event/fixtures/default.test
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Description
|
||||
*
|
||||
* @event default.dispatch
|
||||
* @since 3.1.0-b2
|
||||
*/
|
||||
$phpbb_dispatcher->dispatch('default.dispatch');
|
11
tests/event/fixtures/extra_description.test
Normal file
11
tests/event/fixtures/extra_description.test
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Description
|
||||
*
|
||||
* NOTE: This will not be exported
|
||||
*
|
||||
* @event extra_description.dispatch
|
||||
* @since 3.1.0-b2
|
||||
*/
|
||||
$phpbb_dispatcher->dispatch('extra_description.dispatch');
|
9
tests/event/fixtures/legacy_alpha1_version.test
Normal file
9
tests/event/fixtures/legacy_alpha1_version.test
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Description
|
||||
*
|
||||
* @event legacy_alpha1_version.dispatch
|
||||
* @since 3.1-A1
|
||||
*/
|
||||
$phpbb_dispatcher->dispatch('legacy_alpha1_version.dispatch');
|
Reference in New Issue
Block a user