Verified Commit 7d9c51d7 authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Issue #3355841 by mondrake: Allow...

Issue #3355841 by mondrake: Allow DriverSpecificSchemaTestBase::testChangePrimaryKeyToSerial to execute for non-core drivers
parent c4bbc93c
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -735,11 +735,16 @@ public function testChangePrimaryKeyToSerial(): void {
    }

    // Ensure auto numbering now works.
    // We use a >= assertion to allow non-core drivers, that may have specific
    // strategies on automatic incrementing, to run core tests. For example,
    // Oracle will allocate a 10 id with the previous insert that was meant to
    // fail; that id will be discarded, and the insert here will get a new 11
    // id instead.
    $id = $this->connection
      ->insert($table_name)
      ->fields(['test_field_string' => 'test'])
      ->execute();
    $this->assertEquals(10, $id);
    $this->assertGreaterThanOrEqual(10, $id);
  }

  /**