diff --git a/app/src/sharedTest/java/org/oppia/android/app/options/AudioLanguageFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/options/AudioLanguageFragmentTest.kt index 3a18304a125..bae21eac29b 100644 --- a/app/src/sharedTest/java/org/oppia/android/app/options/AudioLanguageFragmentTest.kt +++ b/app/src/sharedTest/java/org/oppia/android/app/options/AudioLanguageFragmentTest.kt @@ -348,7 +348,7 @@ class AudioLanguageFragmentTest { } @Test - fun testFragment_portraitMode_continueButtonClicked_launchesClassroomScreen() { + fun testFragment_multipleClassroomsEnabled_continueButtonClicked_launchesClassroomScreen() { TestPlatformParameterModule.forceEnableMultipleClassrooms(true) initializeTestApplicationComponent(enableOnboardingFlowV2 = true) launch( @@ -365,7 +365,7 @@ class AudioLanguageFragmentTest { } @Test - fun testFragment_landscapeMode_continueButtonClicked_launchesClassroomScreen() { + fun testFragment_landscapeMode_multipleClassroomsEnabled_continueButtonLaunchesClassroomScreen() { TestPlatformParameterModule.forceEnableMultipleClassrooms(true) initializeTestApplicationComponent(enableOnboardingFlowV2 = true) launch( @@ -384,6 +384,7 @@ class AudioLanguageFragmentTest { @Test @RunOn(TestPlatform.ROBOLECTRIC, buildEnvironments = [BuildEnvironment.BAZEL]) fun testFragment_languageSelectionChanged_selectionIsUpdated() { + TestPlatformParameterModule.forceEnableMultipleClassrooms(false) initializeTestApplicationComponent(enableOnboardingFlowV2 = true) launch( createDefaultAudioActivityIntent(ENGLISH_AUDIO_LANGUAGE) @@ -413,6 +414,7 @@ class AudioLanguageFragmentTest { @Test @RunOn(TestPlatform.ROBOLECTRIC, buildEnvironments = [BuildEnvironment.BAZEL]) fun testFragment_languageSelectionChanged_configChange_selectionIsUpdated() { + TestPlatformParameterModule.forceEnableMultipleClassrooms(false) initializeTestApplicationComponent(enableOnboardingFlowV2 = true) launch( createDefaultAudioActivityIntent(ENGLISH_AUDIO_LANGUAGE)