Skip to content

Commit

Permalink
Replace i.rimu.ci with image-service.ringier.tech
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewnessworthy committed Oct 23, 2023
1 parent 4637fed commit e9e9562
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Instantiate an instance of the resize helper using the image service base url and security key you were provided
```
$imageResize = new ImageResize(
'https://i.rimu.ci/',
'https://image-service.ringier.tech/',
'your-security-key',
);
```
Expand Down
10 changes: 5 additions & 5 deletions tests/ImageResizeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ final class ImageResizeTest extends TestCase
public function testInstantiate(): void
{
$imageResize = new ImageResize(
'https://i.rimu.ci/',
'https://image-service.ringier.tech/',
'test-key',
);

Expand All @@ -22,7 +22,7 @@ public function testInstantiate(): void
public function testResizeUrl(): void
{
$imageResize = new ImageResize(
'https://i.rimu.ci/',
'https://image-service.ringier.tech/',
'test-key',
);

Expand All @@ -34,15 +34,15 @@ public function testResizeUrl(): void
);

$this->assertEquals(
'https://i.rimu.ci/hz/pi/listing-thumb-360w/a6c9235a796ac9a4d40a425cf9194e9d/-/horizon-files-prod/pi/picture/qk4mz7j/e6be465dd23e0ef571fcdbd3f46bfe1c8486cd52.jpg',
'https://image-service.ringier.tech/hz/pi/listing-thumb-360w/a6c9235a796ac9a4d40a425cf9194e9d/-/horizon-files-prod/pi/picture/qk4mz7j/e6be465dd23e0ef571fcdbd3f46bfe1c8486cd52.jpg',
$url
);
}

public function testTemplateUrl(): void
{
$imageResize = new ImageResize(
'https://i.rimu.ci/',
'https://image-service.ringier.tech/',
'test-key',
);

Expand Down Expand Up @@ -70,7 +70,7 @@ public function testTemplateUrl(): void
);

$this->assertEquals(
'https://i.rimu.ci/t/hz/pi/og-template-1200w-630h/a02345306db7136af765a1b43e648f5b/-/eyJ0ZW1wbGF0ZSI6ImpvYi0wNC0yMDIyIiwicmVwbGFjZW1lbnRzIjp7InRpdGxlMSI6IlRpdGxlIGxpbmUgMSIsInRpdGxlMiI6IlRpdGxlIGxpbmUgMiIsInN1YnRpdGxlIjoiU3VidGl0bGUgbGluZSJ9LCJpbWFnZXMiOnsibG9nbyI6eyJmaWxlIjoiczM6XC9cL2hvcml6b24tZmlsZXMtcHJvZFwvcGlcL3BpY3R1cmVcL3FrNG16N2pcL2U2YmU0NjVkZDIzZTBlZjU3MWZjZGJkM2Y0NmJmZTFjODQ4NmNkNTIuanBnIn0sImJhY2tncm91bmQiOnsiZmlsZSI6InMzOlwvXC9ob3Jpem9uLWZpbGVzLXByb2RcL3BpXC9waWN0dXJlXC9xazRtejdqXC9lNmJlNDY1ZGQyM2UwZWY1NzFmY2RiZDNmNDZiZmUxYzg0ODZjZDUyLmpwZyJ9fX0%3D/pretty-seo-filename.jpg',
'https://image-service.ringier.tech/t/hz/pi/og-template-1200w-630h/a02345306db7136af765a1b43e648f5b/-/eyJ0ZW1wbGF0ZSI6ImpvYi0wNC0yMDIyIiwicmVwbGFjZW1lbnRzIjp7InRpdGxlMSI6IlRpdGxlIGxpbmUgMSIsInRpdGxlMiI6IlRpdGxlIGxpbmUgMiIsInN1YnRpdGxlIjoiU3VidGl0bGUgbGluZSJ9LCJpbWFnZXMiOnsibG9nbyI6eyJmaWxlIjoiczM6XC9cL2hvcml6b24tZmlsZXMtcHJvZFwvcGlcL3BpY3R1cmVcL3FrNG16N2pcL2U2YmU0NjVkZDIzZTBlZjU3MWZjZGJkM2Y0NmJmZTFjODQ4NmNkNTIuanBnIn0sImJhY2tncm91bmQiOnsiZmlsZSI6InMzOlwvXC9ob3Jpem9uLWZpbGVzLXByb2RcL3BpXC9waWN0dXJlXC9xazRtejdqXC9lNmJlNDY1ZGQyM2UwZWY1NzFmY2RiZDNmNDZiZmUxYzg0ODZjZDUyLmpwZyJ9fX0%3D/pretty-seo-filename.jpg',
$url
);
}
Expand Down

0 comments on commit e9e9562

Please sign in to comment.