From 3afd1e0847f2edb7bfc9527ce414966df130ad4d Mon Sep 17 00:00:00 2001 From: Joe Gilliland-Lloyd <6943710+joegl@users.noreply.github.com> Date: Fri, 4 Oct 2024 15:44:31 -0500 Subject: [PATCH] Replaced defunct placeimg URL in unit test. (#97) Co-authored-by: joegl <20383-joegl@users.noreply.drupalcode.org> --- .../src/Unit/Plugin/migrate/process/StanfordFileImportTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/Unit/Plugin/migrate/process/StanfordFileImportTest.php b/tests/src/Unit/Plugin/migrate/process/StanfordFileImportTest.php index c13db27..d28ad48 100644 --- a/tests/src/Unit/Plugin/migrate/process/StanfordFileImportTest.php +++ b/tests/src/Unit/Plugin/migrate/process/StanfordFileImportTest.php @@ -55,7 +55,7 @@ public function testTranform() { $migrate_executable = $this->createMock(MigrateExecutable::class); $row = $this->createMock(Row::class); $this->assertNull($plugin->transform('https://identity.stanford.edu/wp-content/uploads/sites/3/2020/07/block-s-right.png', $migrate_executable, $row, 'field_stuff')); - $this->assertNull($plugin->transform('https://placeimg.com/640/480/any', $migrate_executable, $row, 'field_stuff')); + $this->assertNull($plugin->transform('https://content.sites.stanford.edu/sites/g/files/sbiybj27591/files/media/image/placeholder.png', $migrate_executable, $row, 'field_stuff')); $configuration = ['max_size' => '10MB'];