@@ -18,7 +18,7 @@ class UnitTest extends \PHPFUI\HTMLUnitTester\Extensions
18
18
public function testNotWarningCss () : void
19
19
{
20
20
$ this ->assertNotWarningCss ('strong {font-weight: bolder;} ' );
21
- }
21
+ }
22
22
23
23
public function testNotWarningCssFile () : void
24
24
{
@@ -27,53 +27,53 @@ public function testNotWarningCssFile() : void
27
27
28
28
public function testNotWarningCssUrl () : void
29
29
{
30
- $ this ->assertNotWarningCssUrl ('https://validator.w3.org/nu/style .css ' );
30
+ $ this ->assertNotWarningCssUrl ('https://raw.githubusercontent.com/phpfui/HTMLUnitTester/master/examples/valid .css ' );
31
31
}
32
32
33
- public function testNotWarningFile () : void
34
- {
35
- $ this ->assertNotWarningFile ('examples/valid.html ' );
36
- }
33
+ public function testNotWarningFile () : void
34
+ {
35
+ $ this ->assertNotWarningFile ('examples/valid.html ' );
36
+ }
37
37
38
- public function testNotWarningHtml () : void
39
- {
38
+ public function testNotWarningHtml () : void
39
+ {
40
40
$ this ->assertNotWarningHtml ('<h1>Header</h2> ' );
41
- }
41
+ }
42
42
43
- public function testNotWarningUrl () : void
44
- {
45
- $ this ->assertNotWarningUrl ('https://validator.w3.org/nu/ ' );
46
- }
43
+ public function testNotWarningUrl () : void
44
+ {
45
+ $ this ->assertNotWarningUrl ('https://raw.githubusercontent.com/phpfui/HTMLUnitTester/master/examples/valid.html ' );
46
+ }
47
47
48
- public function testValidCss () : void
49
- {
50
- $ this ->assertValidCss ('strong {font-weight: bolder;} ' );
51
- }
48
+ public function testValidCss () : void
49
+ {
50
+ $ this ->assertValidCss ('strong {font-weight: bolder;} ' );
51
+ }
52
52
53
53
public function testValidCssFile () : void
54
- {
55
- $ this ->assertValidCssFile ('examples/valid.css ' );
54
+ {
55
+ $ this ->assertValidCssFile ('examples/valid.css ' );
56
56
}
57
57
58
- public function testValidCssUrl () : void
59
- {
60
- $ this ->assertValidCssUrl ('https://validator.w3.org/nu/style .css ' );
61
- }
58
+ public function testValidCssUrl () : void
59
+ {
60
+ $ this ->assertValidCssUrl ('https://raw.githubusercontent.com/phpfui/HTMLUnitTester/master/examples/valid .css ' );
61
+ }
62
62
63
- public function testValidFile () : void
64
- {
65
- $ this ->assertValidFile ('examples/valid.html ' );
66
- }
63
+ public function testValidFile () : void
64
+ {
65
+ $ this ->assertValidFile ('examples/valid.html ' );
66
+ }
67
67
68
- public function testValidHtml ()
69
- {
70
- $ this ->assertValidHtml ('<h1>Header</h1> ' );
71
- $ this ->assertValidHtml ('<!DOCTYPE html><html><head><meta charset="utf-8"/><title>Title</title></head><body><div>This is a test</div></body></html> ' );
72
- }
68
+ public function testValidHtml ()
69
+ {
70
+ $ this ->assertValidHtml ('<h1>Header</h1> ' );
71
+ $ this ->assertValidHtml ('<!DOCTYPE html><html><head><meta charset="utf-8"/><title>Title</title></head><body><div>This is a test</div></body></html> ' );
72
+ }
73
73
74
- public function testValidUrl () : void
75
- {
76
- $ this ->assertValidUrl ('https://validator.w3.org/nu/ ' );
77
- }
74
+ public function testValidUrl () : void
75
+ {
76
+ $ this ->assertValidUrl ('https://raw.githubusercontent.com/phpfui/HTMLUnitTester/master/examples/valid.html ' );
77
+ }
78
78
79
- }
79
+ }
0 commit comments