Verified Commit 05b9d0d0 authored by Dave Long's avatar Dave Long
Browse files

Issue #3452511 by pooja_sharma, joachim: convert ProviderRepositoryTest to a kernel test

(cherry picked from commit 3e3b4953)
parent 6097bfe7
Loading
Loading
Loading
Loading
Loading
+2 −10
Original line number Diff line number Diff line
@@ -2,11 +2,10 @@

declare(strict_types=1);

namespace Drupal\Tests\media\Functional;
namespace Drupal\Tests\media\Kernel;

use Drupal\media\OEmbed\ProviderException;
use GuzzleHttp\Psr7\Utils;
use Prophecy\PhpUnit\ProphecyTrait;

/**
 * Tests the oEmbed provider repository.
@@ -15,14 +14,7 @@
 *
 * @group media
 */
class ProviderRepositoryTest extends MediaFunctionalTestBase {

  use ProphecyTrait;

  /**
   * {@inheritdoc}
   */
  protected $defaultTheme = 'stark';
class ProviderRepositoryTest extends MediaKernelTestBase {

  /**
   * Tests that provider discovery fails if the provider database is empty.