Use fetch column to be independent from the alias

parent 4aee7a4d
......@@ -17,6 +17,6 @@ final class LikeWildcardsEscapingTest extends DbalFunctionalTestCase
$escapeChar
));
$stmt->execute();
$this->assertTrue((bool) $stmt->fetch()['it_matches']);
$this->assertTrue((bool) $stmt->fetchColumn());
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment