Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Tests
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
5 Feb 2016 at 19:34 UTC
Updated:
25 Feb 2016 at 23:04 UTC
Jump to comment: Most recent
In \Drupal\commerce_order\Tests\OrderTest::testDeleteOrder we delete an order then load it to verify it has been deleted.
$order_exists = (bool) Order::load('commerce_order', $order->id());
The ::load is only expecting the order ID and not the entity type.
Comments
Comment #2
harings_rob commentedComment #3
harings_rob commentedPR: https://github.com/drupalcommerce/commerce/pull/331
Comment #5
bojanz commentedCommitted, thanks!