Changeset 885
- Timestamp:
- 08/31/07 17:07:52 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/util/datespan/stubDateSpanDay.php
r695 r885 40 40 public function getDateSpans() 41 41 { 42 return array( );42 return array($this); 43 43 } 44 44 trunk/src/test/php/net/stubbles/util/datespan/stubDateSpanDayTestCase.php
r695 r885 31 31 { 32 32 $dateSpanDay = new stubDateSpanDay('2007-05-14'); 33 $this->assertEqual(count($dateSpanDay->getDateSpans()), 0); 33 $dateSpans = $dateSpanDay->getDateSpans(); 34 $this->assertEqual(count($dateSpans), 1); 35 $this->assertReference($dateSpans[0], $dateSpanDay); 34 36 } 35 37
