Event

Test report

  1. TEC event loop config

      exists as loop type tec_event
      has property "name"
      has property "title"
      has property "category"
      has property "description"
      has property "query_args"
      has property "fields"

  2. Event loop type

      can create loop type tec_event
      returns events from method get_items()
      event is an instance of WP_Post

  3. Event loop item

      loop has next item

  4. Event fields

      id: Event post ID
      start_date: Event start date
      start_date_utc: Event start date (UTC)
      end_date: Event end date
      end_date_utc: Event end date (UTC)
      timezone: Event timezone
      duration: Event duration
      multiday: Number of days event spans or false if single day
      is_past: Whether event is past event
      all_day: Whether event is all day
      end_of_day: End of day
      starts_this_week: Starts this week
      ends_this_week: Ends this week
      this_week_duration: This week duration
      happens_this_week: Happens this week
      displays_on: Displays on
      featured: Event is featured
      sticky: Sticky
      cost: Cost
      excerpt: Excerpt
      permalink: Permalink
      schedule_details: Schedule Details
      plain_schedule_details: plain_schedule_details
      title: title
      image: Thumbnail
      organizers: Event organizers. Returns a Loop
      venues: Event venues. Returns a Loop

  5. Event subloops
Call to a member function next() on null in /home/tangible/lib/branches/plugins/tangible-blocks-pro/master/includes/integrations/events-calendar/types/event/test/index.php on line 129

      tickets returns a Loop

Total of 5 tests: 1 passed, 4 failed