Skip to content

Commit

Permalink
Fix httpsssss (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePixelDeveloper authored Jul 26, 2017
1 parent 33733b9 commit cde221c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions spec/OutputSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ function it_should_generate_a_sitemap_of_images()
<url>
<loc>https://www.example.com/1</loc>
<image:image>
<image:loc>httpss://s3.amazonaws.com/path/to/image</image:loc>
<image:loc>https://s3.amazonaws.com/path/to/image</image:loc>
</image:image>
<image:image>
<image:loc>httpss://s3.amazonaws.com/path/to/image2</image:loc>
<image:loc>https://s3.amazonaws.com/path/to/image2</image:loc>
<image:caption>Test Caption</image:caption>
<image:geo_location>Limerick, Ireland</image:geo_location>
<image:title>Test Title</image:title>
Expand All @@ -60,10 +60,10 @@ function it_should_generate_a_sitemap_of_images()
<url>
<loc>https://www.example.com/2</loc>
<image:image>
<image:loc>httpss://s3.amazonaws.com/path/to/image</image:loc>
<image:loc>https://s3.amazonaws.com/path/to/image</image:loc>
</image:image>
<image:image>
<image:loc>httpss://s3.amazonaws.com/path/to/image2</image:loc>
<image:loc>https://s3.amazonaws.com/path/to/image2</image:loc>
<image:caption>Test Caption</image:caption>
<image:geo_location>Limerick, Ireland</image:geo_location>
<image:title>Test Title</image:title>
Expand All @@ -75,13 +75,13 @@ function it_should_generate_a_sitemap_of_images()

$urlset = new Urlset();

$image2 = new Image('httpss://s3.amazonaws.com/path/to/image2');
$image2 = new Image('https://s3.amazonaws.com/path/to/image2');
$image2->setCaption('Test Caption');
$image2->setGeoLocation('Limerick, Ireland');
$image2->setTitle('Test Title');
$image2->setLicense('https://www.license.com');

$image = new Image('httpss://s3.amazonaws.com/path/to/image');
$image = new Image('https://s3.amazonaws.com/path/to/image');

$imageUrl = new Url('https://www.example.com/1');
$imageUrl->addSubElement($image);
Expand Down

0 comments on commit cde221c

Please sign in to comment.