   (let ((input 'layer)
         (expected (cfgl-layer "layer"
                               :name 'layer
-                              :dir "/a/dummy/path/layer/"
-                              :ext-dir "/a/dummy/path/layer/extensions/")))
+                              :dir "/a/dummy/path/layer/")))
     (mocker-let ((configuration-layer/get-layer-path
                   (x)
                   ((:input `(,input) :output "/a/dummy/path/"))))

                     [object cfgl-package "pkg5" pkg5 nil nil nil elpa nil t]
                     [object cfgl-package "pkg7" pkg7 nil nil nil elpa nil nil]
                     [object cfgl-package "pkg8" pkg8 nil nil nil elpa nil nil])
                   (configuration-layer//filter-packages
                    pkgs (lambda (x)
                           (or (not (eq 'local (oref x :location)))
                               (not (oref x :excluded)))))))))

                     [object cfgl-package "pkg4" pkg4 nil nil nil elpa nil nil]
                     [object cfgl-package "pkg7" pkg7 nil nil nil elpa nil nil]
                     [object cfgl-package "pkg8" pkg8 nil nil nil elpa nil nil])
                   (configuration-layer/filter-packages
                    pkgs (lambda (x)
                           (not (eq 'local (oref x :location)))))))))

