Merge "Revert "Breaking out disallowed CSS into a global variable""
[lhc/web/wiklou.git] / tests / phpunit / includes / site / SiteListTest.php
index b41f647..534ed9c 100644 (file)
@@ -228,6 +228,13 @@ class SiteListTest extends MediaWikiTestCase {
                 */
                foreach ( $list as $site ) {
                        $this->assertTrue( $copy->hasInternalId( $site->getInternalId() ) );
+
+                       foreach ( $site->getNavigationIds() as $navId ) {
+                               $this->assertTrue(
+                                       $copy->hasNavigationId( $navId ),
+                                       'unserialized data expects nav id ' . $navId . ' for site ' . $site->getGlobalId()
+                               );
+                       }
                }
        }
 }