@@ -31,7 +31,7 @@ function it_generates_an_xml_file()
3131 $ channel = new Tv \Channel ('test ' );
3232 $ channel ->addDisplayName (new Tv \Elements \DisplayName ('test ' , 'en ' ));
3333 $ channel ->addDisplayName (new Tv \Elements \DisplayName ('test ' , 'de ' ));
34- $ channel ->addIcon (new Tv \Elements \Icon ('http://foo.bar/img.png ' , 200 , 200 ));
34+ $ channel ->addIcon (new Tv \Elements \Icon ('http://foo.bar/img.png ' , ' 200 ' , ' 200 ' ));
3535 $ channel ->addUrl (new Tv \Elements \Url ('http://foo.bar/ ' ));
3636
3737 $ programme = new Tv \Programme ('test ' , '1 ' , '2 ' );
@@ -57,7 +57,7 @@ function it_generates_an_xml_file()
5757 $ programme ->language = new Tv \Elements \Language ('de ' );
5858 $ programme ->origLanguage = new Tv \Elements \OrigLanguage ('fr ' );
5959 $ programme ->length = new Tv \Elements \Length ('200 ' , Tv \Elements \Length \Unit::MINUTES );
60- $ programme ->addIcon (new Tv \Elements \Icon ('http://foo.bar/x.png ' , 100 , 100 ));
60+ $ programme ->addIcon (new Tv \Elements \Icon ('http://foo.bar/x.png ' ));
6161 $ programme ->addUrl (new Tv \Elements \Url ('http://programme.test/ ' ));
6262 $ programme ->addCountry (new Tv \Elements \Country ('France ' , 'en ' ));
6363 $ programme ->addEpisodeNum (new Tv \Elements \EpisodeNum ('1 ' ));
@@ -69,7 +69,7 @@ function it_generates_an_xml_file()
6969 $ programme ->new = new Tv \Elements \NewProgramme ();
7070 $ programme ->addSubtitles (new Tv \Elements \Subtitles ('en ' , Tv \Elements \Subtitles \Type::ONSCREEN ));
7171 $ rating = new Tv \Elements \Rating ('Good ' );
72- $ rating ->addIcon (new Tv \Elements \Icon ('http://foo.bar/icon.png ' , 500 , 400 ));
72+ $ rating ->addIcon (new Tv \Elements \Icon ('http://foo.bar/icon.png ' , ' 500 ' , ' 400 ' ));
7373 $ programme ->addRating ($ rating );
7474 $ programme ->addStarRating (new Tv \Elements \StarRating ('5 ' ));
7575 $ programme ->addReview (new Tv \Elements \Review ('Very nice! ' , Tv \Elements \Review \Type::TEXT ));
0 commit comments