mirror of
https://github.com/silverstripe/silverstripe-multiform
synced 2024-10-22 11:05:49 +02:00
MINOR Made MultiForm test classes implement TestOnly so they're only used for testing purposes
This commit is contained in:
parent
6ac64b13a6
commit
c5916ffaf0
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
class MultiFormTestClass extends MultiForm {
|
class MultiFormTestClass extends MultiForm implements TestOnly {
|
||||||
|
|
||||||
protected static $start_step = 'MultiFormTestStepOne';
|
protected static $start_step = 'MultiFormTestStepOne';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
class MultiFormTestStepOne extends MultiFormStep {
|
class MultiFormTestStepOne extends MultiFormStep implements TestOnly {
|
||||||
|
|
||||||
protected static $next_steps = 'MultiFormTestStepTwo';
|
protected static $next_steps = 'MultiFormTestStepTwo';
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
class MultiFormTestStepThree extends MultiFormStep {
|
class MultiFormTestStepThree extends MultiFormStep implements TestOnly {
|
||||||
|
|
||||||
protected static $is_final_step = true;
|
protected static $is_final_step = true;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
class MultiFormTestStepTwo extends MultiFormStep {
|
class MultiFormTestStepTwo extends MultiFormStep implements TestOnly {
|
||||||
|
|
||||||
protected static $next_steps = 'MultiFormTestStepThree';
|
protected static $next_steps = 'MultiFormTestStepThree';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user