From 3a071562599cea8b5fd11e90bf1c5fdab0b0c6eb Mon Sep 17 00:00:00 2001 From: "J. King" Date: Thu, 7 Dec 2017 19:39:32 -0500 Subject: [PATCH] Fix broken test --- tests/lib/Database/SeriesSubscription.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/Database/SeriesSubscription.php b/tests/lib/Database/SeriesSubscription.php index 4f484011..6b68596e 100644 --- a/tests/lib/Database/SeriesSubscription.php +++ b/tests/lib/Database/SeriesSubscription.php @@ -254,7 +254,7 @@ trait SeriesSubscription { 'order_type' => 1, ], ]; - $this->assertSame($exp, Arsse::$db->subscriptionList($this->user)->getAll()); + $this->assertResult($exp, Arsse::$db->subscriptionList($this->user)); Phake::verify(Arsse::$user)->authorize($this->user, "subscriptionList"); $this->assertArraySubset($exp[0], Arsse::$db->subscriptionPropertiesGet($this->user, 1)); Phake::verify(Arsse::$user)->authorize($this->user, "subscriptionPropertiesGet");