Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-11493

Functional tests should fail if any debug output is made

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.0.12-RC1
    • 3.0.11
    • Test Suite
    • None

      	public function assert_response_success()
      	{
      		$this->assertEquals(200, $this->client->getResponse()->getStatus());
      		$content = $this->client->getResponse()->getContent();
      		$this->assertNotContains('Fatal error:', $content);
      	}

      Should also check for PHP Notice and PHP Warning

            bantu Andreas Fischer [X] (Inactive)
            nickvergessen Joas Schilling
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: