Commit fbc65b3b authored by catch's avatar catch
Browse files

Issue #3250648 by Beakerboy, daffie: Avoid comparing fields with different...

Issue #3250648 by Beakerboy, daffie: Avoid comparing fields with different collations in SelectSubqueryTest

(cherry picked from commit 99f5bf68)
parent bf1fc45b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -232,7 +232,7 @@ public function testExistsSubquerySelect() {
    // Subquery to {test_people}.
    $subquery = $this->connection->select('test_people', 'tp')
      ->fields('tp', ['name'])
      ->where('[tp].[name] = [t].[name]');
      ->where('[tp].[age] = [t].[age]');
    $query->exists($subquery);
    $result = $query->execute();

@@ -263,7 +263,7 @@ public function testNotExistsSubquerySelect() {
    // Subquery to {test_people}.
    $subquery = $this->connection->select('test_people', 'tp')
      ->fields('tp', ['name'])
      ->where('[tp].[name] = [t].[name]');
      ->where('[tp].[age] = [t].[age]');
    $query->notExists($subquery);

    // Ensure that we got the right number of records.