@@ -18,7 +18,7 @@ class UnitTest extends \PHPFUI\HTMLUnitTester\Extensions
1818 public function testNotWarningCss () : void
1919 {
2020 $ this ->assertNotWarningCss ('strong {font-weight: bolder;} ' );
21- }
21+ }
2222
2323 public function testNotWarningCssFile () : void
2424 {
@@ -27,53 +27,53 @@ public function testNotWarningCssFile() : void
2727
2828 public function testNotWarningCssUrl () : void
2929 {
30- $ this ->assertNotWarningCssUrl ('https://validator.w3.org/nu/style .css ' );
30+ $ this ->assertNotWarningCssUrl ('https://raw.githubusercontent.com/phpfui/HTMLUnitTester/master/examples/valid .css ' );
3131 }
3232
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+ }
3737
38- public function testNotWarningHtml () : void
39- {
38+ public function testNotWarningHtml () : void
39+ {
4040 $ this ->assertNotWarningHtml ('<h1>Header</h2> ' );
41- }
41+ }
4242
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+ }
4747
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+ }
5252
5353 public function testValidCssFile () : void
54- {
55- $ this ->assertValidCssFile ('examples/valid.css ' );
54+ {
55+ $ this ->assertValidCssFile ('examples/valid.css ' );
5656 }
5757
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+ }
6262
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+ }
6767
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+ }
7373
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+ }
7878
79- }
79+ }
0 commit comments