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 2cf23ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/wpunit/SanityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ 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, ['de', 'en', 'es', 'fi', 'fr']);
}

public function testPluginIsActivated()
Expand Down

0 comments on commit 2cf23ae

Please sign in to comment.