← Back to team overview

mahara-contributors team mailing list archive

[Bug 897125] [NEW] Unit Test for cron_lock

 

Public bug reported:

Following bug #891170:
Write relevant unit tests for cron_lock, and cron_free if possile

This may not be possible without a reshuffle of lib/cron.php

At present, the actual logic is not in a function so including the file
to test the functions will lead to the cron system running so this may
not be possible

** Affects: mahara
     Importance: Wishlist
         Status: New


** Tags: unit-testing

** Description changed:

- Write relevant unit tests for cron_lock, an dcron_free if possile
+ Following bug #891170:
+ Write relevant unit tests for cron_lock, and cron_free if possile
  
  This may not be possible without a reshuffle of lib/cron.php
  
  At present, the actual logic is not in a function so including the file
  to test the functions will lead to the cron system running so this may
  not be possible

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/897125

Title:
  Unit Test for cron_lock

Status in Mahara ePortfolio:
  New

Bug description:
  Following bug #891170:
  Write relevant unit tests for cron_lock, and cron_free if possile

  This may not be possible without a reshuffle of lib/cron.php

  At present, the actual logic is not in a function so including the
  file to test the functions will lead to the cron system running so
  this may not be possible

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/897125/+subscriptions


Follow ups

References