message: Update AppServicePlanInfo tests.
diff: import * as React from "react";
  import configureMockStore from "redux-mock-store";
  -import { azureMessages } from "../../../mockData/azureServiceOptions";
  import AppServicePlanInfo from ".";
  -import { Provider } from "react-redux";
  import { getInitialState, setSubscriptions } from "../../../mockData/mockStore";
  -import { render, RenderResult } from "@testing-library/react";
  -import { IntlProvider } from "react-intl";
  +import { RenderResult } from "@testing-library/react";
  +import { renderWithStore } from "../../../testUtils";
  +import messages from "./messages";
  -xdescribe("AppServicePlanInfo", () => {
  +describe("AppServicePlanInfo", () => {
  let props: any;
  let wrapper: RenderResult;
  let store: any;
  @@ -21,47 +20,22 @@ xdescribe("AppServicePlanInfo", () => {
  props = {};
  });
  - describe("When subscription is a Microsoft Learn Subscription", () => {
  - beforeEach(() => {
  - props.subscription = { label: "Microsoft Learn Subscription", value: "Microsoft Learn Subscription" };
  - wrapper = render(
  - <IntlProvider locale="en">
  - <Provider store={store}>
  - <AppServicePlanInfo {...props} />
  - </Provider>
  - </IntlProvider>
  - );
  - });
  -
  it("renders without crashing", () => {
  + wrapper = renderWithStore(<AppServicePlanInfo {...props} />, store);
  expect(wrapper).toBeDefined();
  });
  - it("should have a free subscription message", () => {
  - const expectedText = intl.formatMessage(azureMessages.appServiceFreeTierInfo);
  + it("When subscription is a Microsoft Learn Subscription, should have a free subscription message", () => {
  + props.subscription = "Microsoft Learn Subscription";
  + wrapper = renderWithStore(<AppServicePlanInfo {...props} />, store);
  + const expectedText = intl.formatMessage(messages.freeTierMessage);
  expect(wrapper.getByText(expectedText)).toBeDefined();
  });
  - });
  -
  - describe("When subscription is not a Microsoft Learn Subscription", () => {
  - beforeEach(() => {
  - props.subscription = { label: "subscription 1 value", value: "subscription 1 value" };
  - wrapper = render(
  - <IntlProvider locale="en">
  - <Provider store={store}>
  - <AppServicePlanInfo {...props} />
  - </Provider>
  - </IntlProvider>
  - );
  - });
  -
  - it("renders without crashing", () => {
  - expect(wrapper).toBeDefined();
  - });
  - it("should have a basic subscription message", () => {
  - const expectedText = intl.formatMessage(azureMessages.appServiceBasicTierInfo);
  + it("When subscription is not a Microsoft Learn Subscription, should have a basic subscription message", () => {
  + props.subscription = "Subscription 0";
  + wrapper = renderWithStore(<AppServicePlanInfo {...props} />, store);
  + const expectedText = intl.formatMessage(messages.basicTierMessage);
  expect(wrapper.getByText(expectedText)).toBeDefined();
  });
  });
  -});
  