diff options
Diffstat (limited to 'impl_core/src/test/java/io/opencensus/implcore/tags/ScopedTagContextsTest.java')
-rw-r--r-- | impl_core/src/test/java/io/opencensus/implcore/tags/ScopedTagContextsTest.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/impl_core/src/test/java/io/opencensus/implcore/tags/ScopedTagContextsTest.java b/impl_core/src/test/java/io/opencensus/implcore/tags/ScopedTagContextsTest.java index c24cccb9..6a8fe4c7 100644 --- a/impl_core/src/test/java/io/opencensus/implcore/tags/ScopedTagContextsTest.java +++ b/impl_core/src/test/java/io/opencensus/implcore/tags/ScopedTagContextsTest.java @@ -20,6 +20,8 @@ import static com.google.common.truth.Truth.assertThat; import static io.opencensus.implcore.tags.TagsTestUtil.tagContextToList; import io.opencensus.common.Scope; +import io.opencensus.implcore.internal.CurrentState; +import io.opencensus.implcore.internal.CurrentState.State; import io.opencensus.tags.Tag; import io.opencensus.tags.TagContext; import io.opencensus.tags.TagKey; @@ -41,7 +43,7 @@ public class ScopedTagContextsTest { private static final TagValue VALUE_1 = TagValue.create("value 1"); private static final TagValue VALUE_2 = TagValue.create("value 2"); - private final Tagger tagger = new TaggerImpl(new CurrentTaggingState()); + private final Tagger tagger = new TaggerImpl(new CurrentState(State.ENABLED)); @Test public void defaultTagContext() { |