\QuestionnaireSubmissionTest
Synopsis
class QuestionnaireSubmissionTest
extends FunctionalTest
{
- // members
- protected boolean $usesDatabase = true;
- protected static string $fixture_file = 'app/tests/fixtures/QuestionnaireSubmissionTest.yml';
- // methods
- public void test_normalise_group_approval_fields()
- public void testIsCurrentUserABusinessOwner()
- public void testApprovalPageLink()
- public void testStartLink()
- public void testSummaryPageLink()
Hierarchy
Extends
- SilverStripe\Dev\FunctionalTest
Tasks
Line | Task |
---|---|
61+ | Need to scaffold an appropriate request that creates a QuestionnaireSubmission record. |
Members
protected
- $fixture_file — string
- $usesDatabase
—
boolean
Creates an isolated database, unique to this test-run.
Methods
public
- testApprovalPageLink()
- testIsCurrentUserABusinessOwner() — Wether or not a user is a "Business Owner" is a bit of an unknown thing.
- testStartLink()
- testSummaryPageLink()
- test_normalise_group_approval_fields() — Tests that for any given user, their group memberships produce an accurate array of their applicable approval fields.