Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
esamattis committed May 21, 2024
1 parent 64549c9 commit 1ec2fba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/wpunit/SanityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ public function testCanUsePolylang()
$this->assertTrue(defined('POLYLANG_VERSION'));

$langs = pll_languages_list(['fields' => 'slug']);
$this->assertEquals($langs, ['en', 'fr', 'fi', 'de', 'es']);
asort($langs);

$this->assertEquals($langs, ['es', 'en', 'fr', 'fi', 'de']);
}

public function testPluginIsActivated()
Expand Down

0 comments on commit 1ec2fba

Please sign in to comment.