diff --git a/src/tests/execute-wp-cli.test.ts b/src/tests/execute-wp-cli.test.ts index 11727f351..20154fec1 100644 --- a/src/tests/execute-wp-cli.test.ts +++ b/src/tests/execute-wp-cli.test.ts @@ -6,10 +6,7 @@ import fs from 'fs'; import os from 'os'; import path from 'path'; import { executeWPCli } from '../../vendor/wp-now/src/execute-wp-cli'; -import { - getWPCliVersionFromInstallation, - isWPCliInstallationOutdated, -} from '../lib/wpcli-versions'; +import { getWPCliVersionFromInstallation } from '../lib/wpcli-versions'; jest.unmock( 'fs-extra' ); @@ -54,9 +51,4 @@ describe( 'executeWPCli', () => { const result = await getWPCliVersionFromInstallation(); expect( result ).toMatch( /v\d+\.\d+\.\d+/ ); // Example: v2.10.0 } ); - - it( 'should have the latest wp-cli version installed', async () => { - const isOutdated = await isWPCliInstallationOutdated(); - expect( isOutdated ).toBe( false ); - } ); } );