Test: CI workflow and platform tests#1
Closed
Wachhund wants to merge 5 commits into
Closed
Conversation
9e5f77c to
50afc4d
Compare
50afc4d to
043466b
Compare
- func_array: Add array_each2, array_intersect_key_recursive, array_intersect_compare, array_diff_assoc_recursive; upgrade array_update for recursive nesting; fix bugs in array_exclude and array_filter_recursive; rename array_group_keys to array_merge_group - func_format: Add format_json, format_number, format_regex_code; update format_path_friendly to Unicode-based character stripping - func_string: Replace old string_ellipsis (middle-collapse) with v3 API (front/back truncation via mb_substr); remove unused string_translate, string_slice, string_pad_lines - tests/administrator: Adopt v3 test with auto-increment backup, entity reload, static loader test, delete verification, finally block - tests/func_format: Remove format_address/format_number tests (require seed data not available in framework CI) - tests/language: Fix missing DB_TABLE_PREFIX in queries
- Use database::query()->fetch() instead of database::fetch() - Use f::array_update() and f::array_intersect_compare() - Verify delete via SQL query instead of entity reload - Fix DB_TABLE_PREFIX in all queries
Enable data.sql import in setup_database.php — provides languages, settings, and translations needed by func_csv, nod_settings, and other tests that depend on a populated database.
- data.sql: Remove type/datatype columns from lc_settings INSERT (not in structure.json), remove duplicate admin INSERT, set site_name default to 'LiteCore', use empty string instead of CURRENT_TIMESTAMP() for jobs timestamps - nod_settings test: Use site_name/default_language_code instead of store_name/store_currency_code (LiteCore naming)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Testing CI setup with 13 platform tests from LiteCart v3. Fork-only, not for upstream.