Skip to content

Commit 11ad285

Browse files
committed
[Comprehend][S3] Update integration tests to current behavior
1 parent 0aba624 commit 11ad285

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

aws-android-sdk-comprehend-test/src/androidTest/java/com/amazonaws/services/comprehend/ComprehendIntegrationTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ public class ComprehendIntegrationTest extends AWSTestBase {
3131
/** The Comprehend client for all tests to use */
3232
protected static AmazonComprehendClient comprehendClient;
3333

34-
private static final String ENGLISH_TEXT = "Sun sometimes shines in Seattle";
34+
/// This sentence is expected to by English and have a positive sentiment.
35+
private static final String ENGLISH_TEXT = "Sun sometimes shines in Seattle!!";
3536

3637
private static final String SPANISH_TEXT = "Sun a veces brilla en Seattle";
3738

aws-android-sdk-s3-test/src/androidTest/java/com/amazonaws/services/s3/RestoreObjectIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public void testRestoreObject() {
6565
fail();
6666
} catch (AmazonServiceException e) {
6767
assertTrue(e.getMessage().contains(
68-
"Restore is not allowed, as object's storage class is not GLACIER"));
68+
"Restore is not allowed for the object's current storage class"));
6969
}
7070

7171
ObjectMetadata metadata = s3.getObjectMetadata(bucketName, key);

0 commit comments

Comments
 (0)