- Refactored fallback submission logic in `class-event-handler.php` to remove `wp_die`/`exit` calls and use redirects for error handling, enabling proper unit testing. - Implemented meta-data saving (dates, venue, organizer) in the fallback logic using `update_post_meta`. - Updated unit tests (`test-event-management.php`) to remove `markTestIncomplete` calls related to handler errors and uncommented meta assertions. Unit tests for fallback logic now pass. - Added Instructions section and Return to Dashboard button to the event form shortcode (`display_event_form_shortcode`). - Applied basic theme styling classes (`ast-container`, `notice`, `ast-button`) to the event form. - Updated `docs/implementation_plan.md` to reflect completion of tasks 4.1-4.5 and set focus to Task 5. Refs: Task 4.1, 4.2, 4.3, 4.4, 4.5
23 lines
380 B
YAML
23 lines
380 B
YAML
language: php
|
|
|
|
dist: trusty
|
|
|
|
matrix:
|
|
include:
|
|
- name: PHP 5.3
|
|
php: 5.3
|
|
dist: precise
|
|
- name: PHP 5.4
|
|
php: 5.4
|
|
- name: PHP 5.5
|
|
php: 5.5
|
|
- name: PHP 5.6
|
|
php: 5.6
|
|
- name: HHVM 3.18
|
|
php: hhvm-3.18
|
|
|
|
install:
|
|
- travis_retry composer update --prefer-dist --no-progress
|
|
|
|
script:
|
|
- vendor/bin/phpunit -c tests/phpunit.xml.dist
|