diff --git a/core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorConfigurationTest.php b/core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorConfigurationTest.php
index 59d5339..ad77dbe 100644
--- a/core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorConfigurationTest.php
+++ b/core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorConfigurationTest.php
@@ -48,7 +48,7 @@ function testSettingsPage() {
     }
 
     // Check for our test processor settings form.
-    $this->assertText(t('Dummy length setting'));
+    $this->assertText('Dummy length setting');
     // Change its value to ensure that settingsSubmit is called.
     $edit = array(
       'dummy_length' => 100,
diff --git a/core/modules/aggregator/tests/modules/aggregator_test/lib/Drupal/aggregator_test/Plugin/aggregator/processor/TestProcessor.php b/core/modules/aggregator/tests/modules/aggregator_test/lib/Drupal/aggregator_test/Plugin/aggregator/processor/TestProcessor.php
index d08a272..169035b 100644
--- a/core/modules/aggregator/tests/modules/aggregator_test/lib/Drupal/aggregator_test/Plugin/aggregator/processor/TestProcessor.php
+++ b/core/modules/aggregator/tests/modules/aggregator_test/lib/Drupal/aggregator_test/Plugin/aggregator/processor/TestProcessor.php
@@ -36,13 +36,13 @@ public function settingsForm(array $form, array &$form_state) {
 
     $form['processors'][$info['id']] = array(
       '#type' => 'details',
-      '#title' => t('Test processor settings'),
+      '#title' => 'Test processor settings',
       '#description' => $info['description'],
       '#collapsed' => !in_array($info['id'], $processors),
     );
     // Add some dummy settings to verify settingsForm is called.
     $form['processors'][$info['id']]['dummy_length'] = array(
-      '#title' => t('Dummy length setting'),
+      '#title' => 'Dummy length setting',
       '#type' => 'number',
       '#min' => 1,
       '#max' => 1000,
