Changeset 13632 for trunk/tests/phpunit/testcases/core/functions.php
- Timestamp:
- 11/05/2023 07:32:10 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/testcases/core/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/core/functions.php
r13431 r13632 875 875 $versions = bp_get_deprecated_functions_versions(); 876 876 877 // When current version is the initial version, we should n't load deprecated functions files.878 $this->assert True( is_array( $versions ) && ! $versions, 'Please check the list of `$deprecated_functions_versions` in `bp_get_deprecated_functions_versions()`. There should be one for each file of the `/src/bp-core/deprecated` directory.' );877 // When current version is the initial version, we should only load 12.0 deprecated functions file. 878 $this->assertSame( $versions, array( '12.0' ), 'Please check the list of `$deprecated_functions_versions` in `bp_get_deprecated_functions_versions()`. There should be one for each file of the `/src/bp-core/deprecated` directory.' ); 879 879 880 880 // We should load the 2 lasts deprecated functions files.
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)