Skip to content
Snippets Groups Projects

Issue #3075608: Introduce TestRun objects and refactor TestDatabase to be testable

Closed Issue #3075608: Introduce TestRun objects and refactor TestDatabase to be testable
1 unresolved thread
Closed mondrake requested to merge issue/drupal-3075608:3075608-introduce-testrun-objects into 10.1.x
1 unresolved thread

Merge request reports

Approval is optional

Closed by mondrakemondrake 2 years ago (Mar 7, 2023 2:10pm UTC)

Merge details

  • The changes were not merged into 10.1.x.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Dave Long
  • Dave Long
  • 1343 1355
    1344 1356 foreach ($test_id_chunks as $test_id_chunk) {
    1345 1357 try {
    1346 $result_chunk = Database::getConnection('default', 'test-runner')
    1347 ->query("SELECT * FROM {simpletest} WHERE [test_id] IN ( :test_ids[] ) ORDER BY [test_class], [message_id]", [
    1348 ':test_ids[]' => $test_id_chunk,
    1349 ])->fetchAll();
    1358 $result_chunk = [];
    1359 foreach ($test_id_chunk as $test_id) {
    1360 $test_run = TestRun::get($test_run_results_storage, $test_id);
  • mondrake added 1 commit
  • closed

  • Please register or sign in to reply
    Loading