All tests

Plugin

Test report

  1. Global function tangible_loops_for_events_calendar

      exists
      returns an instance of the plugin

All 1 test passed

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

Organizer

Test report

  1. TEC organizer loop config

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

  2. Organizer loop type

      can create loop type tec_organizer
      returns organizers from method get_items()
      organizer is an instance of WP_Post

  3. Organizer loop item

      loop has next item

  4. Organizer fields

      id: ID
      name: name/slug
      url: URL
      title: Title
      content: Content
      excerpt: Excerpt
      status: Status
      edit_url: Edit URL
      publish_date: Publish date
      modify_date: Modify date
      post_class: Post classes
      menu_order: Menu order
      archive_author: On an author archive page: Current author as a user loop
      archive_term: On a taxonomy archive page: Current taxonomy term as a loop
      archive_post_type: On a post type archive page: Current post type as a loop
      author: Author
      author_*: Author's user field
      parent: Parent
      parent_*: Parent field
      parent_ids: All parent IDs from current to top
      children: Children
      children_ids: Children IDs
      ancestors: Ancestor posts from lowest to highest level; Set reverse=true to go from top-level down
      image: Featured image
      image_*: Featured image field

Total of 4 tests: 1 passed, 3 failed

Venue

Test report

  1. TEC venue loop config

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

  2. Venue loop type

      can create loop type tec_venue
      returns venues from method get_items()
      venue is an instance of WP_Post

  3. Venue loop item

      loop has next item

  4. Venue fields

      address: Address
      country: Country
      city: City
      state_province: State Province
      state: State
      province: Province
      zip: Zip
      permalink: Permalink
      directions_link: Google Maps link

Total of 4 tests: 1 passed, 3 failed