Fix a typo in a parameter name

Change-Id: I533b40e47841424eec3ec979fa75b975e6b0bee2
diff --git a/core/net/src/test/java/org/onosproject/net/intent/impl/PathConstraintCalculationTest.java b/core/net/src/test/java/org/onosproject/net/intent/impl/PathConstraintCalculationTest.java
index 9c83572..f69bf27 100644
--- a/core/net/src/test/java/org/onosproject/net/intent/impl/PathConstraintCalculationTest.java
+++ b/core/net/src/test/java/org/onosproject/net/intent/impl/PathConstraintCalculationTest.java
@@ -71,9 +71,10 @@
         sut.appId = APP_ID;
     }
 
-    private PathIntent createPathIntent(List<Link> links, List<Constraint> constratins) {
+    private PathIntent createPathIntent(List<Link> links, List<Constraint> constraints) {
         int hops = links.size() - 1;
-        return new PathIntent(APP_ID, selector, treatment, new DefaultPath(PID, links, hops), constratins);
+        return new PathIntent(APP_ID, selector, treatment,
+                              new DefaultPath(PID, links, hops), constraints);
     }
 
     /**