From d28fee48795905c10f064aec9db03ef3e08745b2 Mon Sep 17 00:00:00 2001
From: Bart Jaskulski <bjaskulski@protonmail.com>
Date: Fri, 17 Nov 2023 00:50:19 +0100
Subject: [PATCH] refactor: remove unused tests

Signed-off-by: Bart Jaskulski <bjaskulski@protonmail.com>
---
 tests/PluginHeaderDataTest.php | 31 -------------------------------
 tests/PluginTest.php           |  8 --------
 2 files changed, 39 deletions(-)
 delete mode 100644 tests/PluginHeaderDataTest.php
 delete mode 100644 tests/PluginTest.php

diff --git a/tests/PluginHeaderDataTest.php b/tests/PluginHeaderDataTest.php
deleted file mode 100644
index 5514d19..0000000
--- a/tests/PluginHeaderDataTest.php
+++ /dev/null
@@ -1,31 +0,0 @@
-<?php
-declare( strict_types=1 );
-
-namespace WPDesk\Init\Tests;
-
-use WPDesk\Init\Configuration\Configuration;
-use WPDesk\Init\Dumper\PhpFileDumper;
-use WPDesk\Init\Loader\PhpFileLoader;
-use WPDesk\Init\PluginHeaderData;
-use WPDesk\Init\DefaultHeaderParser;
-
-class PluginHeaderDataTest extends TestCase {
-
-	public function test_loading_cached_plugin_data() {
-		$dir = $this->initTempPlugin();
-
-		$header = new PluginHeaderData(
-			new DefaultHeaderParser(),
-			new PhpFileLoader(),
-			new PhpFileDumper(),
-			new Configuration( [] )
-		);
-
-		$this->assertFileDoesNotExist( $dir . '/generated/plugin.php' );
-		$header->get_plugin_data( $dir . '/simple-plugin.php' );
-
-		$this->assertFileExists( $dir . '/generated/plugin.php' );
-		$header->get_plugin_data( $dir . '/simple-plugin.php' );
-	}
-
-}
\ No newline at end of file
diff --git a/tests/PluginTest.php b/tests/PluginTest.php
deleted file mode 100644
index 3adeb2a..0000000
--- a/tests/PluginTest.php
+++ /dev/null
@@ -1,8 +0,0 @@
-<?php
-declare( strict_types=1 );
-
-namespace WPDesk\Init\Tests;
-
-class PluginTest extends \PHPUnit\Framework\TestCase {
-
-}
-- 
GitLab