Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply fixes from StyleCI #206

Merged
merged 1 commit into from
Apr 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions tests/Feature/AssetServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ public function test_tailwind_path_method_returns_false_if_null_in_config()
$this->assertFalse($service->tailwindPath());
}


public function test_tailwind_path_method_returns_false_if_disabled_in_config()
{
$service = new AssetService();
Expand Down Expand Up @@ -87,5 +86,4 @@ public function test_cdn_path_constructor_uses_selected_version()
Config::set('hyde.cdnHydeFrontVersionOverride', '1.2.3');
$this->assertStringContainsString('@1.2.3', $service->cdnPathConstructor('styles.css'));
}

}
5 changes: 1 addition & 4 deletions tests/Feature/AuthorServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
class AuthorServiceTest extends TestCase
{
protected function setUp(): void
protected function setUp(): void
{
parent::setUp();
// If an authors.yml file exists, back it up and remove it
Expand All @@ -35,7 +35,6 @@ protected function tearDown(): void
// Restore the original authors.yml file

restore($path);

}

public function test_publish_file_creates_file()
Expand Down Expand Up @@ -107,6 +106,4 @@ public function test_find_method_returns_false_if_no_author_is_found()
{
$this->assertFalse(AuthorService::find('undefined_author'));
}


}