You are here

public function DeveloperAppUITest::testCreateAppWithProducts in Apigee Edge 8

Tests app creation with products.

File

tests/src/Functional/DeveloperAppUITest.php, line 241

Class

DeveloperAppUITest
Developer app UI tests.

Namespace

Drupal\Tests\apigee_edge\Functional

Code

public function testCreateAppWithProducts() {
  $this->products[] = $this
    ->createProduct();
  $this
    ->assertAppCreationWithProduct([
    $this->products[0],
  ], FALSE, TRUE);
  $this
    ->assertAppCreationWithProduct([
    $this->products[0],
    $this->products[1],
  ]);
}