summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/01-basic.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/01-basic.t b/t/01-basic.t
index 311583d..0457bd1 100644
--- a/t/01-basic.t
+++ b/t/01-basic.t
@@ -54,9 +54,9 @@ $i = 0;
for qw(foo bar baz quux);
ok(!$foo->has_service($_), "doesn't have service $_")
for qw(baz2);
- isa_ok($foo->get_service('bar'), 'Bread::Board::Declare::Literal');
- isa_ok($foo->get_service('baz'), 'Bread::Board::Declare::ConstructorInjection');
- isa_ok($foo->get_service('quux'), 'Bread::Board::Declare::BlockInjection');
+ isa_ok($foo->fetch('bar'), 'Bread::Board::Declare::Literal');
+ isa_ok($foo->fetch('baz'), 'Bread::Board::Declare::ConstructorInjection');
+ isa_ok($foo->fetch('quux'), 'Bread::Board::Declare::BlockInjection');
}
{