/[drupal]/drupal/modules/simpletest/drupal_web_test_case.php
ViewVC logotype

Diff of /drupal/modules/simpletest/drupal_web_test_case.php

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

revision 1.18, Tue Jun 10 19:39:29 2008 UTC revision 1.19, Tue Jun 17 01:12:50 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: drupal_web_test_case.php,v 1.17 2008/06/09 08:11:44 dries Exp $  // $Id: drupal_web_test_case.php,v 1.18 2008/06/10 19:39:29 dries Exp $
3    
4  /**  /**
5   * Test case for typical Drupal tests.   * Test case for typical Drupal tests.
# Line 62  class DrupalWebTestCase extends UnitTest Line 62  class DrupalWebTestCase extends UnitTest
62      );      );
63      $defaults['teaser'] = $defaults['body'];      $defaults['teaser'] = $defaults['body'];
64      // If we already have a node, we use the original node's created time, and this      // If we already have a node, we use the original node's created time, and this
65      if (isset($defaults['created'])) {      if (isset($settings['created'])) {
66        $defaults['date'] = format_date($defaults['created'], 'custom', 'Y-m-d H:i:s O');        $defaults['date'] = format_date($settings['created'], 'custom', 'Y-m-d H:i:s O');
67      }      }
68      if (empty($settings['uid'])) {      if (empty($settings['uid'])) {
69        global $user;        global $user;

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.2