Skip to content
Snippets Groups Projects
Commit e00d0049 authored by Jonathan Sacksick's avatar Jonathan Sacksick
Browse files

Issue #3325604 by jsacksick: Fix the tests.

parent 9da4465e
No related branches found
No related tags found
Loading
......@@ -85,9 +85,10 @@ class OrderAdminTest extends OrderWebDriverTestBase {
$this->drupalGet('/admin/commerce/orders');
$this->getSession()->getPage()->clickLink('Create a new order');
$user = $this->loggedInUser->getAccountName() . ' (' . $this->loggedInUser->id() . ')';
$this->getSession()->getPage()->fillField('uid', $user);
$this->assertSession()->assertWaitOnAjaxRequest();
$edit = [
'customer_type' => 'existing',
'uid' => $user,
];
$this->submitForm($edit, 'Create');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment