function drush_unit_invoke_validate_rollback

8.0.x unit.drush.inc drush_unit_invoke_validate_rollback()
6.x unit.drush.inc drush_unit_invoke_validate_rollback()
7.x unit.drush.inc drush_unit_invoke_validate_rollback()
4.x unit.drush.inc drush_unit_invoke_validate_rollback()
5.x unit.drush.inc drush_unit_invoke_validate_rollback()
master unit.drush.inc drush_unit_invoke_validate_rollback()

The final invoke hook. Emit the call history. Cannot use 'exit' as it does not fire in rollback scenario.

1 string reference to 'drush_unit_invoke_validate_rollback'

File

tests/unit.drush.inc, line 81
Commands which are useful for unit tests.

Code

function drush_unit_invoke_validate_rollback() {
  unit_invoke_log(__FUNCTION__);
  print json_encode(unit_invoke_log());
}