Commit 75faf692 authored by Aaron Wells's avatar Aaron Wells Committed by Gerrit Code Review

Merge "Bug 1629154: Fixing issues when deleting an institution"

parents 51be11cb c1e55766
......@@ -116,6 +116,7 @@ if ($institution || $add) {
}
}
if ($artefactids) {
require_once(get_config('docroot') . 'artefact/lib.php');
foreach ($artefactids as $artefactid) {
try {
$a = artefact_instance_from_id($artefactid);
......
......@@ -33,4 +33,12 @@ Scenario: Creating an institution (selenium test)
# Removing the first authentication option
And I click on "Delete" in "Web services" row
# Adding an institution logo
And I attach the file "Image2.png" to "Logo"
And I press "Submit"
# Delete the institution
And I press "Delete" in the "table#adminstitutionslist" "css_element"
And I press "Yes"
Then I should see "Institution deleted successfully"
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