File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -126,13 +126,13 @@ class ModerationCase extends db.ExpandoModel<String> {
126126 opened = clock.now ().toUtc ();
127127 }
128128
129- /// Generates a short case id like `<yyyy><mm><dd>-0123456789 ` .
129+ /// Generates a short case id like `<yyyy><mm><dd>I0123456789 ` .
130130 static String generateCaseId ({
131131 DateTime ? now,
132132 }) {
133133 now ?? = clock.now ();
134134 return '${now .toIso8601String ().split ('T' ).first .replaceAll ('-' , '' )}'
135- '- '
135+ 'I '
136136 '${createUuid ().split ('-' ).join ('' ).substring (0 , 10 )}' ;
137137 }
138138
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import 'package:pub_integration/src/pub_puppeteer_helpers.dart';
1111import 'package:pub_integration/src/test_browser.dart' ;
1212import 'package:test/test.dart' ;
1313
14- final _caseIdExpr = RegExp (r'[0-9]{8}- [0-9a-f]{10}' );
14+ final _caseIdExpr = RegExp (r'[0-9]{8}I [0-9a-f]{10}' );
1515
1616void main () {
1717 group ('report' , () {
You can’t perform that action at this time.
0 commit comments