Changeset 1051


Ignore:
Timestamp:
09/12/09 13:20:50 (3 years ago)
Author:
bogdan2412
Message:

Fixed tests.

Location:
trunk/tests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/user_page.php

    r934 r1051  
    3131            'last_revision' => "1", 
    3232))); 
    33 log_assert_equal($res['url'],  url_absolute( 
    34             url_user_profile('test_dude1', true))); 
     33log_assert_equal($res['url'], url_user_profile('test_dude1', true)); 
    3534 
    3635log_print("Anonymous looks at user page and sees changes"); 
  • trunk/tests/utilities.php

    r852 r1051  
    2222    ); 
    2323 
    24     if (strpos('http://', $args['url']) === false) { 
     24    if (strpos($args["url"], 'http://') === false) { 
    2525        $curl_args[CURLOPT_URL] = IA_URL_HOST . $args['url']; 
    2626    } else { 
Note: See TracChangeset for help on using the changeset viewer.