Tests: Move dbDelta() tests to the db directory.

This aims to bring some consistency with other database-related tests.

Includes adding a missing `@covers` tag to the class DocBlock.

Follow-up to [30345], [32108], [32770], [51798].

Props pbearne, SergeyBiryukov.
See #56793, #56782.

git-svn-id: https://develop.svn.wordpress.org/trunk@54711 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2022-10-28 14:47:13 +00:00
parent 66da481c14
commit 143f9464c2
2 changed files with 5 additions and 2 deletions

View File

@@ -5,8 +5,10 @@
*
* @group upgrade
* @group dbdelta
*
* @covers ::dbDelta
*/
class Tests_dbDelta extends WP_UnitTestCase {
class Tests_DB_dbDelta extends WP_UnitTestCase {
/**
* The maximum size of an index with utf8mb4 collation and charset with a standard

View File

@@ -3,7 +3,8 @@
/**
* Test WPDB _real_escape() method.
*
* @group wpdb
* @group wpdb
*
* @covers wpdb::_real_escape
*/
class Tests_DB_RealEscape extends WP_UnitTestCase {