/[drupal]/contributions/modules/bookingsapi/tests/records.test
ViewVC logotype

Diff of /contributions/modules/bookingsapi/tests/records.test

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1, Fri Jun 27 05:31:27 2008 UTC revision 1.2, Wed Oct 1 02:52:18 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: records.test,v 1.1 2008/06/27 05:31:27 carson Exp $
3    
4  class bookingsAPIRecords extends DrupalTestCase {  class bookingsAPIRecords extends DrupalTestCase {
5    /**    /**
# Line 65  class bookingsAPIRecords extends DrupalT Line 65  class bookingsAPIRecords extends DrupalT
65          'start' => '2008-01-01 07:00:00',          'start' => '2008-01-01 07:00:00',
66          'end' => '2008-01-01 07:30:00',          'end' => '2008-01-01 07:30:00',
67          'finalized' => 1,          'finalized' => 1,
68          'ical_rrule' => 'RRULE:FREQ=DAILY;INTERVAL=3;UNTIL=20080110T000000;WKST=MO',          'rrule' => 'RRULE:FREQ=DAILY;INTERVAL=3;UNTIL=20080110T000000;WKST=MO',
69          'ical_rrule_until' => '2008-01-10 00:00:00'          'rrule_until' => '2008-01-10 00:00:00'
70      );      );
71    
72      $insertResult = bookingsapi_booking_save($this->bookingUnfinal);      $insertResult = bookingsapi_booking_save($this->bookingUnfinal);
# Line 106  class bookingsAPIRecords extends DrupalT Line 106  class bookingsAPIRecords extends DrupalT
106          'end' => '2008-01-01 14:00:00',          'end' => '2008-01-01 14:00:00',
107          'finalized' => 0,          'finalized' => 0,
108          'priority' => 1,          'priority' => 1,
109          'ical_rrule' => 'RRULE:FREQ=DAILY;INTERVAL=1;UNTIL=20080105T000000;WKST=MO',          'rrule' => 'RRULE:FREQ=DAILY;INTERVAL=1;UNTIL=20080105T000000;WKST=MO',
110          'ical_rrule_until' => '2008-01-05 00:00:00'          'rrule_until' => '2008-01-05 00:00:00'
111      );      );
112      $insertResult = bookingsapi_availability_save($this->AVA_F_repeat);      $insertResult = bookingsapi_availability_save($this->AVA_F_repeat);
113      $this->assertEqual($insertResult, SAVED_NEW);      $this->assertEqual($insertResult, SAVED_NEW);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.2