Skip to content

Commit bbcd8b4

Browse files
committed
Fix test_310_prepare_should_flatten_scoped_dependencies
1 parent 1542a63 commit bbcd8b4

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/build/android/prepare_android_tests.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,8 @@ def test_301_prepare_android_platform_specific_files(self):
124124
assert not File.exists(app_path + 'app.android.css')
125125

126126
def test_310_prepare_should_flatten_scoped_dependencies(self):
127-
Tns.create_app(self.app_name)
128-
Tns.platform_add_android(attributes={"--path": self.app_name,
129-
"--frameworkPath": ANDROID_RUNTIME_PATH
130-
})
131-
132-
Tns.plugin_add("nativescript-angular", attributes={"--path": self.app_name})
127+
Tns.create_app_ng(self.app_name)
128+
Tns.platform_add_android(attributes={"--path": self.app_name, "--frameworkPath": ANDROID_RUNTIME_PATH})
133129
Tns.prepare_android(attributes={"--path": self.app_name})
134130

135131
# Verify scoped dependencies are flattened (verify #1783 is fixed)

0 commit comments

Comments
 (0)