예제 #1
0
 protected function setUp()
 {
     parent::setUp();
     \Drupal::service('module_installer')->install(['profile']);
     $profile_values = ['type' => 'billing', 'uid' => 1, 'status' => 1];
     $this->billingProfile = Profile::create($profile_values);
     $this->billingProfile->save();
 }