From e9e9562484de409db1c0d610b79e80c9c7855ab9 Mon Sep 17 00:00:00 2001 From: Matthew Nessworthy Date: Mon, 23 Oct 2023 14:55:50 +0200 Subject: [PATCH] Replace i.rimu.ci with image-service.ringier.tech --- README.md | 2 +- tests/ImageResizeTest.php | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8547e86..4c1afaf 100644 --- a/README.md +++ b/README.md @@ -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', ); ``` diff --git a/tests/ImageResizeTest.php b/tests/ImageResizeTest.php index 527c78d..e25fc56 100644 --- a/tests/ImageResizeTest.php +++ b/tests/ImageResizeTest.php @@ -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', ); @@ -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', ); @@ -34,7 +34,7 @@ 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 ); } @@ -42,7 +42,7 @@ public function testResizeUrl(): void public function testTemplateUrl(): void { $imageResize = new ImageResize( - 'https://i.rimu.ci/', + 'https://image-service.ringier.tech/', 'test-key', ); @@ -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 ); }