Skip to content

Commit 35dc524

Browse files
authored
test(storage): remove check for UBLA (#220)
Uniform Bucket Level Access has been disabled for the `google-cloud-dart` test project. Also, projects used for ad hoc testing may or may-not have UBLA enabled.
1 parent 456c501 commit 35dc524

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

pkgs/google_cloud_storage/test/create_bucket_test.dart

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -65,19 +65,6 @@ void main() async {
6565
actualMetadata.iamConfiguration!.publicAccessPrevention,
6666
'inherited',
6767
);
68-
expect(
69-
actualMetadata.iamConfiguration!.uniformBucketLevelAccess!.enabled,
70-
true,
71-
);
72-
expect(
73-
actualMetadata.iamConfiguration!.uniformBucketLevelAccess!.lockedTime!
74-
.toDateTime(),
75-
// Uniform bucket-level access can only be disabled for 90 days
76-
// after bucket creation.
77-
actualMetadata.timeCreated?.toDateTime().add(
78-
const Duration(days: 90),
79-
),
80-
);
8168
expect(actualMetadata.id, isNotEmpty);
8269
expect(actualMetadata.ipFilter, isNull);
8370
expect(actualMetadata.kind, 'storage#bucket');

0 commit comments

Comments
 (0)