diff options
Diffstat (limited to 'kamon-core-tests/src/test/scala/kamon/context/ThreadLocalStorageSpec.scala')
-rw-r--r-- | kamon-core-tests/src/test/scala/kamon/context/ThreadLocalStorageSpec.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kamon-core-tests/src/test/scala/kamon/context/ThreadLocalStorageSpec.scala b/kamon-core-tests/src/test/scala/kamon/context/ThreadLocalStorageSpec.scala index 12e0ca58..d039388d 100644 --- a/kamon-core-tests/src/test/scala/kamon/context/ThreadLocalStorageSpec.scala +++ b/kamon-core-tests/src/test/scala/kamon/context/ThreadLocalStorageSpec.scala @@ -49,8 +49,8 @@ class ThreadLocalStorageSpec extends WordSpec with Matchers { } val TLS: Storage = new Storage.ThreadLocal - val TestKey = Key.local("test-key", 42) - val AnotherKey = Key.local("another-key", 99) - val BroadcastKey = Key.broadcast("broadcast", "i travel around") - val ScopeWithKey = Context.create().withKey(TestKey, 43) + val TestKey = Context.key("test-key", 42) + val AnotherKey = Context.key("another-key", 99) + val BroadcastKey = Context.key("broadcast", "i travel around") + val ScopeWithKey = Context.of(TestKey, 43) } |