@@ -26,18 +26,7 @@ public function six_characters_with_hash()
26
26
$ this ->assertTrue ($ this ->validator ('#ff0080 ' )->passes ());
27
27
$ this ->assertTrue ($ this ->validator ('#fg0080 ' )->fails ());
28
28
29
- $ this ->assertTrue ($ this ->validator ('#ff0080 ' , true )->passes ()); // hash
30
- $ this ->assertTrue ($ this ->validator ('#ff0080 ' , false , true )->passes ()); // full
31
- }
32
-
33
- /** @test */
34
- public function six_characters_without_hash ()
35
- {
36
- $ this ->assertTrue ($ this ->validator ('ff0080 ' )->passes ());
37
- $ this ->assertTrue ($ this ->validator ('fg0080 ' )->fails ());
38
-
39
- $ this ->assertTrue ($ this ->validator ('ff0080 ' , true )->fails ()); // hash
40
- $ this ->assertTrue ($ this ->validator ('ff0080 ' , false , true )->passes ()); // full
29
+ $ this ->assertTrue ($ this ->validator ('#ff0080 ' ,true )->passes ()); // full
41
30
}
42
31
43
32
/** @test */
@@ -46,17 +35,6 @@ public function three_characters_with_hash()
46
35
$ this ->assertTrue ($ this ->validator ('#fff ' )->passes ());
47
36
$ this ->assertTrue ($ this ->validator ('#ggg ' )->fails ());
48
37
49
- $ this ->assertTrue ($ this ->validator ('#fff ' , true )->passes ()); // hash
50
- $ this ->assertTrue ($ this ->validator ('#fff ' , false , true )->fails ()); // full
51
- }
52
-
53
- /** @test */
54
- public function three_characters_without_hash ()
55
- {
56
- $ this ->assertTrue ($ this ->validator ('fff ' )->passes ());
57
- $ this ->assertTrue ($ this ->validator ('ggg ' )->fails ());
58
-
59
- $ this ->assertTrue ($ this ->validator ('fff ' , true )->fails ()); // hash
60
- $ this ->assertTrue ($ this ->validator ('fff ' , false , true )->fails ()); // full
38
+ $ this ->assertTrue ($ this ->validator ('#fff ' , false )->passes ()); // full
61
39
}
62
40
}
0 commit comments