From 1522ca87b8e111233a1f7a492f8756b323b02009 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Wed, 24 Jun 2020 11:48:22 +0300 Subject: [PATCH] - stable tests --- tests/ORM/BelongsToPromiseTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ORM/BelongsToPromiseTest.php b/tests/ORM/BelongsToPromiseTest.php index ff1412e24..705a692cc 100644 --- a/tests/ORM/BelongsToPromiseTest.php +++ b/tests/ORM/BelongsToPromiseTest.php @@ -243,6 +243,6 @@ public function testEditPromised(): void $selector = new Select($this->orm->withHeap(new Heap()), Profile::class); $p = $selector->wherePK(1)->fetchOne(); - $this->assertSame('400.0', $p->user->__resolve()->balance); + $this->assertSame(400, (int)$p->user->__resolve()->balance); } }