From 76982af72ddbaffffa78f7317ded5e3547c53457 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Thu, 17 Nov 2022 22:43:53 +0100 Subject: [PATCH] tests/Feature/ProfessionImport/BasicTest.php: Fixing an test error that compared reagents in wrong order. --- tests/Feature/ProfessionImport/BasicTest.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/Feature/ProfessionImport/BasicTest.php b/tests/Feature/ProfessionImport/BasicTest.php index aaebbc1..1f15dd5 100644 --- a/tests/Feature/ProfessionImport/BasicTest.php +++ b/tests/Feature/ProfessionImport/BasicTest.php @@ -130,13 +130,13 @@ class BasicTest extends TestCase $this->assertEquals('Imbued Vial', $recipes[1]->reagents[0]->name); $this->assertEquals(1, $recipes[1]->reagents[0]->quantity); - $this->assertEquals(22789, $recipes[1]->reagents[1]->external_id); - $this->assertEquals('Terocone', $recipes[1]->reagents[1]->name); - $this->assertEquals(1, $recipes[1]->reagents[1]->quantity); + $this->assertEquals(22785, $recipes[1]->reagents[1]->external_id); + $this->assertEquals('Felweed', $recipes[1]->reagents[1]->name); + $this->assertEquals(2, $recipes[1]->reagents[1]->quantity); - $this->assertEquals(22785, $recipes[1]->reagents[2]->external_id); - $this->assertEquals('Felweed', $recipes[1]->reagents[2]->name); - $this->assertEquals(2, $recipes[1]->reagents[2]->quantity); + $this->assertEquals(22789, $recipes[1]->reagents[2]->external_id); + $this->assertEquals('Terocone', $recipes[1]->reagents[2]->name); + $this->assertEquals(1, $recipes[1]->reagents[2]->quantity); } public function test_invalid_profession()