Skip to content

Commit

Permalink
Font Library: Test improvements (#53702)
Browse files Browse the repository at this point in the history
* Splits the tests into 1 test file per public method.

* Adds tests where needed for improved coverage.

* Splits happy and unhappy paths into separate test methods and data providers.

---------

Co-authored-by: Colin Stewart <79332690+costdev@users.noreply.github.com>
  • Loading branch information
hellofromtonya and costdev authored Aug 16, 2023
1 parent c991bfc commit 67454a0
Show file tree
Hide file tree
Showing 15 changed files with 1,084 additions and 529 deletions.
340 changes: 0 additions & 340 deletions phpunit/fonts-library/class-wp-font-family-test.php

This file was deleted.

52 changes: 0 additions & 52 deletions phpunit/fonts-library/class-wp-fonts-library-test.php

This file was deleted.

Loading

1 comment on commit 67454a0

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 67454a0.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5882398545
📝 Reported issues:

Please sign in to comment.