Completed
Push — add/wpcom-posts-package ( 70d0c5...6e10b4 )
by
unknown
46:43 queued 35:07
created

Test_Thumbnail::test_setup_thumbnail()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php //phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
2
/**
3
 * Test methods from Automattic\Jetpack\WPcom\Posts\Thumbnail
4
 *
5
 * @package automattic/jetpack-wpcom-posts
6
 */
7
8
namespace Automattic\Jetpack\WPcom\Posts;
9
10
use PHPUnit\Framework\TestCase;
11
12
/**
13
 * Class Test_Thumbnail
14
 */
15
class Test_Thumbnail extends TestCase {
16
17
	/**
18
	 * Checks that the thumbnail enhancements are initialized.
19
	 *
20
	 * @covers ::setup_thumbnail
21
	 */
22
	public function test_setup_thumbnail() {
23
		$this->assertEquals( 10, has_action( 'init', __NAMESPACE__ . '\setup_thumbnail' ) );
24
	}
25
}
26