mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 15:43:51 +00:00
[generic doc] add doc provider and renderer for evaluation document
This commit is contained in:
@@ -63,9 +63,10 @@ class AccompanyingCourseDocumentProviderTest extends KernelTestCase
|
||||
|
||||
['sql' => $sql, 'params' => $params, 'types' => $types] = (new FetchQueryToSqlBuilder())->toSql($query);
|
||||
|
||||
$this->entityManager->getConnection()->executeQuery($sql, $params, $types);
|
||||
$nb = $this->entityManager->getConnection()->executeQuery('SELECT COUNT(*) FROM ('.$sql.') AS sq', $params, $types)
|
||||
->fetchOne();
|
||||
|
||||
self::assertTrue(true, "test that no errors occurs");
|
||||
self::assertIsInt($nb);
|
||||
}
|
||||
|
||||
public function provideSearchArguments(): iterable
|
||||
|
Reference in New Issue
Block a user