@@ -382,7 +382,9 @@ public function testConditionalScriptNoIE()
382
382
{
383
383
$ this ->helper ->setAllowArbitraryAttributes (true );
384
384
$ this ->helper ->appendFile (
385
- '/js/foo.js ' , 'text/javascript ' , ['conditional ' => '!IE ' ]
385
+ '/js/foo.js ' ,
386
+ 'text/javascript ' ,
387
+ ['conditional ' => '!IE ' ]
386
388
);
387
389
$ test = $ this ->helper ->toString ();
388
390
@@ -394,7 +396,9 @@ public function testConditionalScriptNoIEWidthSpace()
394
396
{
395
397
$ this ->helper ->setAllowArbitraryAttributes (true );
396
398
$ this ->helper ->appendFile (
397
- '/js/foo.js ' , 'text/javascript ' , ['conditional ' => '! IE ' ]
399
+ '/js/foo.js ' ,
400
+ 'text/javascript ' ,
401
+ ['conditional ' => '! IE ' ]
398
402
);
399
403
$ test = $ this ->helper ->toString ();
400
404
@@ -465,14 +469,19 @@ public function testNoEscapeTrue()
465
469
public function testSupportsCrossOriginAttribute ()
466
470
{
467
471
$ this ->helper ->__invoke ()->appendScript (
468
- '// some script ' . PHP_EOL , 'text/javascript ' , ['crossorigin ' => true ]
472
+ '// some script ' . PHP_EOL ,
473
+ 'text/javascript ' ,
474
+ ['crossorigin ' => true ]
469
475
);
470
476
$ test = $ this ->helper ->__invoke ()->toString ();
471
477
472
478
$ this ->assertContains ('crossorigin=" ' , $ test );
473
479
}
474
480
475
- public function testOmitsTypeAttributeIfEmptyValue ()
481
+ /**
482
+ * @group 21
483
+ */
484
+ public function testOmitsTypeAttributeIfEmptyValueAndHtml5Doctype ()
476
485
{
477
486
$ view = new \Zend \View \Renderer \PhpRenderer ();
478
487
$ view ->plugin ('doctype ' )->setDoctype (\Zend \View \Helper \Doctype::HTML5 );
0 commit comments