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

Add tests for Admin_Settings::the_settings_page() #238

Merged
Merged
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php
/**
* Class AdminSettings_TheSettingsPageTest
*
* @package AspireUpdate
*/

/**
* Tests for Admin_Settings::the_settings_page()
*
* @covers \AspireUpdate\Admin_Settings::the_settings_page
*/
class AdminSettings_TheSettingsPageTest extends AdminSettings_UnitTestCase {
/**
* Test that the settings page is output.
*/
public function test_should_output_settings_page() {
$admin_settings = new AspireUpdate\Admin_Settings();
$actual = get_echo( [ $admin_settings, 'the_settings_page' ] );

$this->assertStringContainsString( 'AspireUpdate Settings', $actual );
}
}