Skip to content

Commit

Permalink
update test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
benbalter committed Apr 18, 2024
1 parent 5828b0c commit 626feda
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test-wordpress-to-jekyll-exporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,11 +310,10 @@ function test_export_options() {

// writes the file content.
$contents = file_get_contents( $config );
$this->assertStringContainsString( 'description: \'Just another WordPress site\'', $contents );
$this->assertStringContainsString( 'name: \'Test Blog\'', $contents );

// writes valid YAML.
$yaml = Yaml::parse( $contents );
$this->assertEquals( 'Just another WordPress site', $yaml['description'] );
$this->assertEquals( 'http://example.org', $yaml['url'] );
$this->assertEquals( 'Test Blog', $yaml['name'] );
}
Expand Down

0 comments on commit 626feda

Please sign in to comment.