Skip to content

Test: CI workflow and platform tests#1

Closed
Wachhund wants to merge 5 commits into
masterfrom
feature/tests-and-ci
Closed

Test: CI workflow and platform tests#1
Wachhund wants to merge 5 commits into
masterfrom
feature/tests-and-ci

Conversation

@Wachhund
Copy link
Copy Markdown
Owner

@Wachhund Wachhund commented Apr 7, 2026

Testing CI setup with 13 platform tests from LiteCart v3. Fork-only, not for upstream.

@Wachhund Wachhund force-pushed the feature/tests-and-ci branch 10 times, most recently from 9e5f77c to 50afc4d Compare April 7, 2026 05:31
@Wachhund Wachhund force-pushed the feature/tests-and-ci branch from 50afc4d to 043466b Compare April 7, 2026 05:33
Wachhund added 4 commits April 7, 2026 07:55
- 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)
@Wachhund Wachhund closed this Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant