Skip to content

Commit

Permalink
Remove test case: should have the latest wp-cli version installed
Browse files Browse the repository at this point in the history
  • Loading branch information
fluiddot committed Aug 8, 2024
1 parent 1f03ba3 commit b477387
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/tests/execute-wp-cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' );

Expand Down Expand Up @@ -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 );
} );
} );

0 comments on commit b477387

Please sign in to comment.