diff --git a/lib/bb/tests/fetch.py b/lib/bb/tests/fetch.py
index f3890321d..122d7e05f 100644
--- a/lib/bb/tests/fetch.py
+++ b/lib/bb/tests/fetch.py
@@ -2235,7 +2235,7 @@ class GitLfsTest(FetcherTest):
     def test_lfs_enabled(self):
         import shutil

-        uri = 'git://%s;protocol=file;lfs=1;branch=master' % self.srcdir
+        uri = 'git://%s;protocol=file;branch=master' % self.srcdir
         self.d.setVar('SRC_URI', uri)

         # Careful: suppress initial attempt at downloading until
