Merge pull request #5 from PLNech/UserCertificatesDir

Tests: Replaces now unresolvable USER_CERTIFICATES_DIR
This commit is contained in:
Felix Ableitner 2015-08-18 16:51:55 +08:00
commit 37943b1255
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ public class CertificateManagerTest extends AndroidTestCase {
} }
assertNotNull(Shell.SU.run( assertNotNull(Shell.SU.run(
"mv " + source.getAbsolutePath() + " " + "mv " + source.getAbsolutePath() + " " +
CertificateManager.USER_CERTIFICATES_DIR + "/" + TEST_CERTIFICATE_NAME)); CertificateManager.getUserCertificatesDir() + "/" + TEST_CERTIFICATE_NAME));
// NOTE: We use CertificateManager.moveCertificateToSystem() to avoid // NOTE: We use CertificateManager.moveCertificateToSystem() to avoid
// implementing system remount again. // implementing system remount again.
return (isSystemCertificate) return (isSystemCertificate)