Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Jan 6, 2025
1 parent dc87354 commit 32f61aa
Show file tree
Hide file tree
Showing 15 changed files with 1 addition and 42 deletions.
1 change: 1 addition & 0 deletions .phpunit.cache/test-results
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":"pest_2.36.0","defects":[],"times":{"P\\Tests\\AlternateTest::__pest_evaluable_url_can_be_set":0.012,"P\\Tests\\AlternateTest::__pest_evaluable_locale_can_be_set":0,"P\\Tests\\CrawlProfileTest::__pest_evaluable_it_can_use_default_profile":0.003,"P\\Tests\\CrawlProfileTest::__pest_evaluable_it_can_use_the_custom_profile":0,"P\\Tests\\CrawlProfileTest::__pest_evaluable_it_can_use_the_subdomain_profile":0,"P\\Tests\\CrawlProfileTest::__pest_evaluable_it_can_use_the_internal_profile":0,"P\\Tests\\ImageTest::__pest_evaluable_XML_has_image":0.007,"P\\Tests\\NewsTest::__pest_evaluable_XML_has_News_tag":0.001,"P\\Tests\\SitemapGeneratorTest::__pest_evaluable_it_can_generate_a_sitemap":0,"P\\Tests\\SitemapGeneratorTest::__pest_evaluable_it_will_create_new_sitemaps_if_the_maximum_amount_is_crossed":0,"P\\Tests\\SitemapGeneratorTest::__pest_evaluable_it_can_modify_the_attributes_while_generating_the_sitemap":0,"P\\Tests\\SitemapGeneratorTest::__pest_evaluable_it_will_not_add_the_url_to_the_sitemap_if_hasCrawled___does_not_return_it":0,"P\\Tests\\SitemapGeneratorTest::__pest_evaluable_it_will_not_crawl_an_url_of_shouldCrawl___returns_false":0,"P\\Tests\\SitemapGeneratorTest::__pest_evaluable_it_will_not_crawl_an_url_if_listed_in_robots_txt":0,"P\\Tests\\SitemapGeneratorTest::__pest_evaluable_it_will_crawl_an_url_if_robots_txt_check_is_disabled":0,"P\\Tests\\SitemapGeneratorTest::__pest_evaluable_it_can_use_a_custom_profile":0,"P\\Tests\\SitemapIndexTest::__pest_evaluable_it_provides_a__create__method":0,"P\\Tests\\SitemapIndexTest::__pest_evaluable_it_can_render_an_empty_index":0.002,"P\\Tests\\SitemapIndexTest::__pest_evaluable_it_can_write_an_index_to_a_file":0.001,"P\\Tests\\SitemapIndexTest::__pest_evaluable_it_can_write_a_sitemap_to_a_storage_disk_with_private_visibility":0.007,"P\\Tests\\SitemapIndexTest::__pest_evaluable_it_can_write_a_sitemap_to_a_storage_disk_with_public_visibility":0.001,"P\\Tests\\SitemapIndexTest::__pest_evaluable_an_url_string_can_be_added_to_the_index":0.001,"P\\Tests\\SitemapIndexTest::__pest_evaluable_a_sitemap_object_can_be_added_to_the_index":0.001,"P\\Tests\\SitemapIndexTest::__pest_evaluable_multiple_sitemaps_can_be_added_to_the_index":0.001,"P\\Tests\\SitemapIndexTest::__pest_evaluable_it_can_render_a_sitemap_with_all_its_set_properties":0.001,"P\\Tests\\SitemapIndexTest::__pest_evaluable_it_can_determine_if_it_contains_a_given_sitemap":0,"P\\Tests\\SitemapIndexTest::__pest_evaluable_it_can_get_a_specific_sitemap":0,"P\\Tests\\SitemapIndexTest::__pest_evaluable_it_returns_null_when_getting_a_non_existing_sitemap":0.001,"P\\Tests\\SitemapIndexTest::__pest_evaluable_an_instance_can_return_a_response":0.004,"P\\Tests\\SitemapTest::__pest_evaluable_it_provides_a_create_method":0,"P\\Tests\\SitemapTest::__pest_evaluable_it_can_render_an_empty_sitemap":0.001,"P\\Tests\\SitemapTest::__pest_evaluable_it_can_write_a_sitemap_to_a_file":0.001,"P\\Tests\\SitemapTest::__pest_evaluable_it_can_write_a_sitemap_to_a_storage_disk":0.001,"P\\Tests\\SitemapTest::__pest_evaluable_it_can_write_a_sitemap_to_a_storage_disk_with_public_visibility":0.001,"P\\Tests\\SitemapTest::__pest_evaluable_an_url_string_can_be_added_to_the_sitemap":0.001,"P\\Tests\\SitemapTest::__pest_evaluable_an_url_cannot_be_added_twice_to_the_sitemap":0.001,"P\\Tests\\SitemapTest::__pest_evaluable_an_url_with_an_alternate_can_be_added_to_the_sitemap":0.001,"P\\Tests\\SitemapTest::__pest_evaluable_an_url_object_can_be_added_to_the_sitemap":0,"P\\Tests\\SitemapTest::__pest_evaluable_multiple_urls_can_be_added_to_the_sitemap":0.001,"P\\Tests\\SitemapTest::__pest_evaluable_it_can_render_an_url_with_all_its_set_properties":0.001,"P\\Tests\\SitemapTest::__pest_evaluable_it_can_render_an_url_with_priority_0":0.001,"P\\Tests\\SitemapTest::__pest_evaluable_it_can_determine_if_it_contains_a_given_url":0,"P\\Tests\\SitemapTest::__pest_evaluable_it_can_get_a_specific_url":0,"P\\Tests\\SitemapTest::__pest_evaluable_it_returns_null_when_getting_a_non_existing_url":0,"P\\Tests\\SitemapTest::__pest_evaluable_a_url_object_cannot_be_added_twice_to_the_sitemap":0.001,"P\\Tests\\SitemapTest::__pest_evaluable_an_instance_can_return_a_response":0,"P\\Tests\\SitemapTest::__pest_evaluable_multiple_urls_can_be_added_in_one_call":0.001,"P\\Tests\\SitemapTest::__pest_evaluable_sitemapable_object_can_be_added":0.001,"P\\Tests\\SitemapTest::__pest_evaluable_sitemapable_objects_can_be_added":0.001,"P\\Tests\\UrlTest::__pest_evaluable_it_provides_a__create__method":0,"P\\Tests\\UrlTest::__pest_evaluable_url_can_be_set":0,"P\\Tests\\UrlTest::__pest_evaluable_last_modification_date_can_be_set":0,"P\\Tests\\UrlTest::__pest_evaluable_priority_can_be_set":0,"P\\Tests\\UrlTest::__pest_evaluable_priority_is_clamped":0,"P\\Tests\\UrlTest::__pest_evaluable_change_frequency_can_be_set":0,"P\\Tests\\UrlTest::__pest_evaluable_alternate_can_be_added":0,"P\\Tests\\UrlTest::__pest_evaluable_it_can_determine_its_type":0,"P\\Tests\\UrlTest::__pest_evaluable_it_can_determine_the_path":0,"P\\Tests\\UrlTest::__pest_evaluable_it_can_get_all_segments_from_a_relative_url":0.001,"P\\Tests\\UrlTest::__pest_evaluable_it_can_get_all_segments_from_an_absolute_url":0,"P\\Tests\\UrlTest::__pest_evaluable_it_can_get_a_specific_segment":0,"P\\Tests\\UrlTest::__pest_evaluable_it_will_return_null_for_non_existing_segment":0,"P\\Tests\\VideoTest::__pest_evaluable_XML_has_Video_tag":0.001}}
2 changes: 0 additions & 2 deletions tests/ImageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
<url>
<loc>https://localhost</loc>
<changefreq>daily</changefreq>
<priority>0.8</priority>
<image:image>
<image:loc>https://localhost/favicon.ico</image:loc>
<image:caption>Favicon</image:caption>
Expand Down
2 changes: 0 additions & 2 deletions tests/NewsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
<url>
<loc>https://example.com</loc>
<changefreq>daily</changefreq>
<priority>0.8</priority>
<news:news>
<news:publication>
<news:name>News name</news:name>
Expand Down
2 changes: 0 additions & 2 deletions tests/VideoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
<url>
<loc>https://example.com</loc>
<changefreq>daily</changefreq>
<priority>0.8</priority>
<video:video>
<video:thumbnail_loc>https://example.com/image.jpg</video:thumbnail_loc>
<video:title>My Test Title</video:title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
<url>
<loc>http://localhost/home</loc>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
</urlset>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
<url>
<loc>http://localhost/home</loc>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
</urlset>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
<url>
<loc>http://localhost/home</loc>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
</urlset>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
<url>
<loc>http://localhost/home</loc>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
</urlset>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@
<loc>http://localhost/home</loc>
<xhtml:link rel="alternate" hreflang="nl" href="http://localhost/thuis"/>
<xhtml:link rel="alternate" hreflang="fr" href="http://localhost/maison"/>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
</urlset>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
<url>
<loc>http://localhost/home</loc>
<lastmod>2015-12-31T00:00:00+00:00</lastmod>
<changefreq>yearly</changefreq>
<priority>0.1</priority>
</url>
</urlset>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
<url>
<loc>http://localhost/home</loc>
<lastmod>2015-12-31T00:00:00+00:00</lastmod>
<changefreq>yearly</changefreq>
<priority>0.0</priority>
</url>
</urlset>
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
<url>
<loc>http://localhost</loc>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://localhost/home</loc>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
</urlset>
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
<url>
<loc>http://localhost/home</loc>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://localhost/contact</loc>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
</urlset>
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,14 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
<url>
<loc>http://localhost</loc>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://localhost/home</loc>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://localhost/blog/post-1</loc>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://localhost/blog/post-2</loc>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
</urlset>
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,11 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
<url>
<loc>http://localhost/blog/post-1</loc>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://localhost/blog/post-2</loc>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>http://localhost/blog/post-3</loc>
<changefreq>daily</changefreq>
<priority>0.8</priority>
</url>
</urlset>

0 comments on commit 32f61aa

Please sign in to comment.