Commit 5053b624 authored by Igor Biki's avatar Igor Biki Committed by Kevin Paxman
Browse files

ISTWCMS-4818: Adding ofis module to the profile, and adding test function to functional tests.

parent d5e2a241
......@@ -99,6 +99,7 @@ class UwWcmsBasicTest extends BrowserTestBase {
$this->uwLdapTest();
$this->ckeditorButtonsTest();
$this->bannerBlockTest();
$this->ofisTest();
}
/**
......@@ -2414,4 +2415,24 @@ class UwWcmsBasicTest extends BrowserTestBase {
}
}
/**
* Test for OFIS module.
*
* Testing:
* - has module been enabled by default.
* - check config page, default api endopoint, and disabled profiles.
* - check ofis profile (without contact), expect 404.
* - create contact (unpublished), check ofis again, expect 404.
* - publish contact, check ofis again, expect profile display.
* - update contact so its watiam is missing, check ofis, expect 404.
*
* Note:
* Service test should be in kernel tests. And using actual live ofis
* profile may not be good, profile may be disabled/deleted and would cause
* tests to fail. So, mocking service response may be needed.
*/
public function ofisTest() {
}
}
Supports Markdown
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