China’s agriculture ministry said on Wednesday that African swine fever had been detected in three dead wild boars in northwestern Shaanxi province.