Skip to content

Commit

Permalink
Separate tests by product
Browse files Browse the repository at this point in the history
  • Loading branch information
anubisthejackle committed Oct 28, 2024
1 parent ac009a4 commit 33af499
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions tests/Alley/WP/Alleyvate/Features/DisableAlleyAuthorsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ protected function setUp(): void {
/**
* Ensure Alley users (as identified by an email address at one of Alley's domains) do
* not have author archive pages (they should 404)
*
* @test
*/
public function test_ensure_alley_users_do_not_have_author_archive_pages() {
$this->feature->boot();
Expand All @@ -86,21 +88,43 @@ public function test_ensure_alley_users_do_not_have_author_archive_pages() {
}

/**
* Ensure Byline Manager and Co-Authors Plus profiles linked to Alley users do not have
* author archives
* Ensure Co-Authors Plus profiles linked to Alley users do not have author archives
*/
public function test_ensure_co_authors_plus_profiles_linked_to_alley_users_do_not_have_author_archive() {
$this->markTestIncomplete();
}

/**
* Ensure Byline Manager profiles linked to Alley users do not have author archives
*/
public function test_ensure_byline_manager_profiles_linked_to_alley_users_do_not_have_author_archive() {
$this->markTestIncomplete();
}

/**
* Filter author names for traditional authors, Byline Manager, and Co-Authors Plus so
* that Alley users don't appear as their actual names, but rather a generic "Staff" name
* Filter author names for traditional authors data so filtered users don't appear as
* their actual names, but rather a generic "Staff" name
*/
public function test_alley_author_names_appear_as_generic_staff_name() {
$this->markTestIncomplete();
}

/**
* Filter author names for Co-Authors Plus so filtered users appear as "Staff" instead of
* their display name.
*/
public function test_alley_author_names_appear_as_generic_staff_name_in_co_authors_plus() {
$this->markTestIncomplete();
}

/**
* Filter author names for Byline Manager so filtered users appear as "Staff" instead of
* their display name.
*/
public function test_alley_author_names_appear_as_generic_staff_name_in_byline_manager() {
$this->markTestIncomplete();
}

/**
* Data Provider for testing emails.
*
Expand Down

0 comments on commit 33af499

Please sign in to comment.