Commit 6c46d1c3 authored by Drew Webber's avatar Drew Webber
Browse files

Issue #3265522 by mcdruid: Skip Upgrade tests for PostgreSQL

parent 98d77287
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -27,6 +27,9 @@ class CommentUpgradePathTestCase extends UpgradePathTestCase {
   * Test a successful upgrade.
   */
  public function testCommentUpgrade() {
    if ($this->skipUpgradeTest) {
      return;
    }
    $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.');
  }
}
+3 −0
Original line number Diff line number Diff line
@@ -28,6 +28,9 @@ class FilterFormatUpgradePathTestCase extends UpgradePathTestCase {
   * Test a successful upgrade.
   */
  function testFilterFormatUpgrade() {
    if ($this->skipUpgradeTest) {
      return;
    }
    $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.');

    $format = filter_format_load('1');
+3 −0
Original line number Diff line number Diff line
@@ -27,6 +27,9 @@ class ForumUpgradePathTestCase extends UpgradePathTestCase {
   * Test a successful upgrade (no negotiation).
   */
  public function testForumUpgrade() {
    if ($this->skipUpgradeTest) {
      return;
    }
    $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.');

    // Work around http://drupal.org/node/931512
+12 −0
Original line number Diff line number Diff line
@@ -27,6 +27,9 @@ class LocaleUpgradePathTestCase extends UpgradePathTestCase {
   * Test a successful upgrade (no negotiation).
   */
  public function testLocaleUpgrade() {
    if ($this->skipUpgradeTest) {
      return;
    }
    $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.');

    // The home page should be in French.
@@ -43,6 +46,9 @@ class LocaleUpgradePathTestCase extends UpgradePathTestCase {
   * Test an upgrade with path-based negotiation.
   */
  public function testLocaleUpgradePathDefault() {
    if ($this->skipUpgradeTest) {
      return;
    }
    // LANGUAGE_NEGOTIATION_PATH_DEFAULT.
    $this->variable_set('language_negotiation', 1);

@@ -66,6 +72,9 @@ class LocaleUpgradePathTestCase extends UpgradePathTestCase {
   * Test an upgrade with path-based (with fallback) negotiation.
   */
  public function testLocaleUpgradePathFallback() {
    if ($this->skipUpgradeTest) {
      return;
    }
    // LANGUAGE_NEGOTIATION_PATH.
    $this->variable_set('language_negotiation', 2);

@@ -92,6 +101,9 @@ class LocaleUpgradePathTestCase extends UpgradePathTestCase {
   * Test an upgrade with domain-based negotiation.
   */
  public function testLocaleUpgradeDomain() {
    if ($this->skipUpgradeTest) {
      return;
    }
    // LANGUAGE_NEGOTIATION_DOMAIN.
    $this->variable_set('language_negotiation', 3);

+3 −0
Original line number Diff line number Diff line
@@ -27,6 +27,9 @@ class MenuUpgradePathTestCase extends UpgradePathTestCase {
   * Test a successful upgrade.
   */
  public function testMenuUpgrade() {
    if ($this->skipUpgradeTest) {
      return;
    }
    $this->assertTrue($this->performUpgrade(), 'The upgrade was completed successfully.');

    // Test the migration of "Default menu for content" setting to individual
Loading