We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f100c1 commit 2ed326bCopy full SHA for 2ed326b
tests/integration/DetectTest.php
@@ -15,6 +15,15 @@ public function testCount(): void {
15
$this->assertGreaterThan( 1000, $count );
16
}
17
18
+ /**
19
+ * Test that the crawl queue list contains expected URL
20
+ */
21
+ public function testList(): void {
22
+ $this->wpCli( [ 'wp2static', 'detect' ] );
23
+ $lines = $this->wpCli( [ 'wp2static', 'crawl_queue', 'list' ] )['output'];
24
+ $this->assertContains( '/hello-world/', $lines );
25
+ }
26
+
27
public function testSitemapDoubleSlashes(): void
28
{
29
$robotstxt = ITEnv::getWordPressDir() . '/robots.txt';
0 commit comments