Ignore:
Timestamp:
Mar 9, 2020 3:14:25 AM (4 years ago)
Author:
anonymous
Message:

Update CSS reset with inspiration from https://github.com/hankchizljaw/modern-css-reset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/AppTest.php

    r547 r720  
    5454    {
    5555        $thisapp =& App::getInstance();
    56         $this->assertTrue(serialize($thisapp) === serialize($this->App), 'Objects do not match across instantiations.');
     56        $this->assertTrue($thisapp === $this->App, 'Objects do not match across instantiations.');
    5757    }
    5858
     
    8080        $this->App->stop();
    8181        $this->App->start();
    82 
    8382        $this->assertEquals(ini_get('error_reporting'), E_ALL, 'Error reporting not set to E_ALL.');
    84         $this->assertTrue($this->App->db->dbh && is_resource($this->App->db->dbh), 'DB handler not a resource');
    8583        $this->assertTrue(isset($_SESSION), '$_SESSION is not set.');
    8684        $_SESSION['sess_test_value'] = 'okay';
     
    115113        $app =& App::getInstance();
    116114        ob_start();
    117         $this->test_raisemsg();  //had to add this line for phpunit ver. 3.7 ///
     115        $this->test_raisemsg();  //had to add this line for phpunit ver. 3.7
    118116        $app->printraisedmessages();
    119117        $result = ob_get_clean();
     
    137135    {
    138136        $app =& App::getInstance();
    139         $_GET['arg1'] = 'A';
     137        $_REQUEST['arg1'] = 'A';
    140138        $result = $app->ohref('/some/url.php', array('arg1'), true);
    141139        $this->assertContains(session_name(), $result, 'SSID not found in URL.');
Note: See TracChangeset for help on using the changeset viewer.