Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-11493

Functional tests should fail if any debug output is made

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.11
    • Fix Version/s: 3.0.12-RC1
    • Component/s: Test Suite
    • Labels:
      None

      Description

      	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

        Attachments

          Activity

            People

            • Assignee:
              bantu Andreas Fischer
              Reporter:
              nickvergessen Joas Schilling
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: