/[drupal]/contributions/modules/pbs/pbs.test
ViewVC logotype

Diff of /contributions/modules/pbs/pbs.test

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

revision 1.8, Tue Sep 8 17:46:20 2009 UTC revision 1.9, Tue Sep 8 17:48:00 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: pbs.test,v 1.7 2009/06/01 00:12:32 bjaspan Exp $  // $Id: pbs.test,v 1.8 2009/09/08 17:46:20 bjaspan Exp $
3    
4  class PbsTestCase extends DrupalWebTestCase {  class PbsTestCase extends DrupalWebTestCase {
5    function getInfo() {    function getInfo() {
# Line 273  class PbsTestCase extends DrupalWebTestC Line 273  class PbsTestCase extends DrupalWebTestC
273      $entity = field_test_create_stub_entity(0, $delete_vid, 'test_bundle');      $entity = field_test_create_stub_entity(0, $delete_vid, 'test_bundle');
274      field_attach_delete_revision($this->entity_type, $entity);      field_attach_delete_revision($this->entity_type, $entity);
275    
     // TODO: WTF is this for?  
     field_attach_load_revision($this->entity_type, array(0 => $entity));  
   
276      // Verify every revision      // Verify every revision
277      foreach ($revisions as $vid => $items) {      foreach ($revisions as $vid => $items) {
278        $entity = field_test_create_stub_entity(0, $vid, 'test_bundle');        $entity = field_test_create_stub_entity(0, $vid, 'test_bundle');

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.2