File tree 2 files changed +0
-17
lines changed
2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -156,9 +156,6 @@ protected function renderRuleset() : string
156
156
157
157
protected function renderValidatorsRules () : string
158
158
{
159
- if (empty ($ this ->validatorsRules )) {
160
- return '<p>No Validators rules set.</p> ' ;
161
- }
162
159
\ob_start () ?>
163
160
<p>There are <?= \count ($ this ->validatorsRules ) ?> rules available:</p>
164
161
<table>
Original file line number Diff line number Diff line change @@ -81,20 +81,6 @@ public function testValidationRun() : void
81
81
);
82
82
}
83
83
84
- public function testNoValidators () : void
85
- {
86
- $ validation = new class () extends Validation {
87
- public function __construct ()
88
- {
89
- }
90
- };
91
- $ validation ->setDebugCollector ($ this ->collector );
92
- self ::assertStringContainsString (
93
- 'No Validators rules set ' ,
94
- $ this ->collector ->getContents ()
95
- );
96
- }
97
-
98
84
public function testCustomValidatorsRules () : void
99
85
{
100
86
$ validator = new class () extends Validator {
You can’t perform that action at this time.
0 commit comments