mailjet-8.x-2.7/tests/src/Functional/MailjetAPITest.php

tests/src/Functional/MailjetAPITest.php
<?php

namespace Drupal\Tests\mailjet\Functional;

use Drupal\Tests\BrowserTestBase;

/**
 * Tests core API Mailjet functionality.
 *
 * @group mailjet
 */
class MailjetAPITest extends BrowserTestBase {

  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'stark';

  /**
   * Modules to enable.
   *
   * @var array
   */
  protected static $modules = ['mailjet'];

  /**
   * Tests that the test API has been loaded.
   */
  function testAPI() {
    $this->markTestSkipped('Skip');
    $mailjet_object_api = mailjet_new();

    $this->assertNotNull($mailjet_object_api);

    $this->assertEquals(get_class($mailjet_object_api), 'Mailjet\Mailjet');
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc