    #[test]
    fn test_global_update_settings() {
        use crate::GlobalSettingsInput;
        let mut global = Global::default();

        let new_mint_decimals = 8;
        let new_migration_token_allocation = 123_000_000;
        let mut params = GlobalSettingsInput {
            initial_virtual_token_reserves: 0,
            initial_virtual_sol_reserves: 0,
            initial_real_token_reserves: 0,
            token_total_supply: 0,
            mint_decimals: new_mint_decimals,
            migrate_fee_amount: 0,
            migration_token_allocation: new_migration_token_allocation,
            fee_receiver: Pubkey::default(),
            whitelist_enabled: false,
            meteora_config: Pubkey::default(),
        };

        global.update_settings(params, 0);

        assert_eq!(global.mint_decimals, new_mint_decimals); // Passes
        assert_eq!(global.migration_token_allocation, new_migration_token_allocation); // Fails as the variables not updated
    }
