Skip to content

Commit

Permalink
Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 (#64)
Browse files Browse the repository at this point in the history
* Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0

Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/dependabot/fetch-metadata/releases)
- [Commits](dependabot/fetch-metadata@v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: dependabot/fetch-metadata
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Trigger workflow

* Fix styling

* Fix broken random image generator

* Fix broken random image generator

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Baspa <[email protected]>
Co-authored-by: Baspa <[email protected]>
  • Loading branch information
3 people authored Jul 8, 2024
1 parent ffc0d86 commit 1f72d97
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2.1.0
uses: dependabot/fetch-metadata@v2.2.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

Expand Down
3 changes: 1 addition & 2 deletions src/Seo.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ public function __construct(
protected Http $http,
protected Collection $successful,
protected Collection $failed,
) {
}
) {}

public function check(string $url, ?ProgressBar $progress = null, bool $useJavascript = false): SeoScore
{
Expand Down
3 changes: 2 additions & 1 deletion tests/Checks/Meta/OpenGraphImageCheckTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@
});

it('can perform open graph image check on a page with a working open graph image', function () {
$this->withoutExceptionHandling();
$check = new OpenGraphImageCheck();
$crawler = new Crawler();

Http::fake([
'vormkracht10.nl' => Http::response('<html><head><meta property="og:image" content="https://source.unsplash.com/random"></head><body></body></html>', 200),
'vormkracht10.nl' => Http::response('<html><head><meta property="og:image" content="https://picsum.photos/200/300"></head><body></body></html>', 200),
]);

$crawler->addHtmlContent(Http::get('vormkracht10.nl')->body());
Expand Down
4 changes: 2 additions & 2 deletions tests/Checks/Performance/ImageSizeCheckTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
$crawler = new Crawler();

Http::fake([
'vormkracht10.nl' => Http::response('<html><head></head><body><img srct="https://source.unsplash.com/random/100x100"></body></html>', 200),
'vormkracht10.nl' => Http::response('<html><head></head><body><img srct="https://picsum.photos/100x100"></body></html>', 200),
]);

$crawler->addHtmlContent(Http::get('vormkracht10.nl')->body());
Expand All @@ -37,7 +37,7 @@
$crawler = new Crawler();

Http::fake([
'vormkracht10.nl' => Http::response('<html><head></head><body><img src="https://source.unsplash.com/random/7000x7000"></body></html>', 200),
'vormkracht10.nl' => Http::response('<html><head></head><body><img src="https://picsum.photos/7000x7000"></body></html>', 200),
]);

$crawler->addHtmlContent(Http::get('vormkracht10.nl')->body());
Expand Down

0 comments on commit 1f72d97

Please sign in to comment.