diff --git a/src/Unstable/Entity/EntityCreationTrait.php b/src/Unstable/Entity/EntityCreationTrait.php
index cd92e53cd50a9effc0e891d79758e66b08bc977b..068b8627c8910bff3d47c26b1184d9a742a49d82 100644
--- a/src/Unstable/Entity/EntityCreationTrait.php
+++ b/src/Unstable/Entity/EntityCreationTrait.php
@@ -52,7 +52,7 @@ trait EntityCreationTrait {
     }
     $entity = $this->resourceObjectToEntityMapper->createEntityFromResourceObject($data->getIterator()->current());
 
-    // Allow the class using this trait to modfiy the created entity before it
+    // Allow the class using this trait to modify the created entity before it
     // is saved.
     $this->modifyCreatedEntity($entity, $request);
 
diff --git a/tests/src/Functional/JsonapiResourceTest.php b/tests/src/Functional/JsonapiResourceTest.php
index 72ad14bb41e9de422c319d559bb3b4d6e2e7012f..aa9c712c9e6fcfb969f7053917ac14653b755913 100644
--- a/tests/src/Functional/JsonapiResourceTest.php
+++ b/tests/src/Functional/JsonapiResourceTest.php
@@ -300,7 +300,7 @@ class JsonapiResourceTest extends BrowserTestBase {
         'attributes' => [
           'entity_type' => 'node',
           'field_name' => 'comment',
-          'subject' => 'Dramallama',
+          'subject' => 'Drama llama',
           'status' => 1,
           'comment_body' => [
             'value' => 'Llamas are awesome.',
diff --git a/tests/src/Kernel/Routing/ResourceEnhancerTest.php b/tests/src/Kernel/Routing/ResourceEnhancerTest.php
index 0bf5a9b5e035ae3752aa1a147abd59c91c187c36..5b7a6404cba266bcff73691d7e9ac05041f254fb 100644
--- a/tests/src/Kernel/Routing/ResourceEnhancerTest.php
+++ b/tests/src/Kernel/Routing/ResourceEnhancerTest.php
@@ -46,7 +46,7 @@ final class ResourceEnhancerTest extends KernelTestBase {
     // Ensure that the enhancer ignores routes that already have a controller
     // defined.
     $route_defaults = [
-      '_controller' => '\\Drupal\\mymodule\\Controller\\Doesnt::exist',
+      '_controller' => '\\Drupal\\mymodule\\Controller\\DoesNot::exist',
     ];
     $enhanced_defaults = $resource_enhancer->enhance($route_defaults, Request::createFromGlobals());
     $this->assertSame($enhanced_defaults['_controller'], $route_defaults['_controller']);