MP3Test.php 589 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2019-2024 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  5. * SPDX-License-Identifier: AGPL-3.0-only
  6. */
  7. namespace Test\Preview;
  8. /**
  9. * Class MP3Test
  10. *
  11. * @group DB
  12. *
  13. * @package Test\Preview
  14. */
  15. class MP3Test extends Provider {
  16. protected function setUp(): void {
  17. parent::setUp();
  18. $fileName = 'testimage.mp3';
  19. $this->imgPath = $this->prepareTestFile($fileName, \OC::$SERVERROOT . '/tests/data/' . $fileName);
  20. $this->width = 200;
  21. $this->height = 200;
  22. $this->provider = new \OC\Preview\MP3;
  23. }
  24. }